palm_ncdf_shiny: R6 Class to create a static driver for the shiny app. The...

palm_ncdf_shinyR Documentation

R6 Class to create a static driver for the shiny app. The domain is defined via the topography file, other data arrays have to be defined later.

Description

R6 Class to create a static driver for the shiny app. The domain is defined via the topography file, other data arrays have to be defined later.

R6 Class to create a static driver for the shiny app. The domain is defined via the topography file, other data arrays have to be defined later.

Super class

rPALM::palm_ncdf_berlin -> palm_ncdf_shiny

Methods

Public methods

Inherited methods

Method new()

Usage
palm_ncdf_shiny$new(
  topofile,
  headclass,
  oldversion = FALSE,
  gui.arcgis = FALSE
)
Arguments
topofile

Link to a rastered ncfile with topography. May not conatin fill values!

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 that only contains the array "zt". Other information has to be loaded via import_files()

Examples
shiny_static <- palm_ncdf_shiny$new("Path/to/topfile.nc", palm_headclass, FALSE, FALSE)

Method importfiles()

Usage
palm_ncdf_shiny$importfiles(...)

Method importbuildings_DUMMY()

Usage
palm_ncdf_shiny$importbuildings_DUMMY(filepath)

Method getBuildingID()

Usage
palm_ncdf_shiny$getBuildingID(filepath, trustfile = FALSE)

Method clone()

The objects of this class are cloneable with this method.

Usage
palm_ncdf_shiny$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples


## ------------------------------------------------
## Method `palm_ncdf_shiny$new`
## ------------------------------------------------

shiny_static <- palm_ncdf_shiny$new("Path/to/topfile.nc", palm_headclass, FALSE, FALSE)

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