palm_ncdf_manual: R6-Class to create a new static driver from scratch. Creates...

palm_ncdf_manualR Documentation

R6-Class to create a new static driver from scratch. Creates the most important data arrays depending on the grid definitions, given by the initialize/new function

Description

R6-Class to create a new static driver from scratch. Creates the most important data arrays depending on the grid definitions, given by the initialize/new function

R6-Class to create a new static driver from scratch. Creates the most important data arrays depending on the grid definitions, given by the initialize/new function

Super class

rPALM::palm_ncdf_berlin -> palm_ncdf_manual

Methods

Public methods

Inherited methods

Method new()

Usage
palm_ncdf_manual$new(
  nx,
  ny,
  dx,
  headclass,
  oldversion = FALSE,
  gui.arcgis = FALSE
)
Arguments
nx

Numerical. Grid points in x direction

ny

Numerical. Grid points in y direction

dx

Numerical. Grid spacing

headclass

R6-Class.

oldversion

Logical. Only use TRUE for PALM versions <2900

gui.arcgis

Logical. Set to TRUE, when you want to import rastered files created by ARCGIS.

Returns

The initialize/new functions creates a R6 class, where most important arrays (vegetation_type, buildings_2d, etc) are initialized with fill values.

Examples
manual_static <- palm_ncdf_manual$new(200,200,10, palm_headclass, FALSE, FALSE)

Method importfiles()

Usage
palm_ncdf_manual$importfiles(...)

Method importbuildings_DUMMY()

Usage
palm_ncdf_manual$importbuildings_DUMMY(filepath)

Method getBuildingID()

Usage
palm_ncdf_manual$getBuildingID(filepath, trustfile = FALSE)

Method clone()

The objects of this class are cloneable with this method.

Usage
palm_ncdf_manual$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples


## ------------------------------------------------
## Method `palm_ncdf_manual$new`
## ------------------------------------------------

manual_static <- palm_ncdf_manual$new(200,200,10, palm_headclass, FALSE, FALSE)

SebaStad/rPALM documentation built on June 4, 2024, noon