palm_global: Create global parameters for static driver

palm_globalR Documentation

Create global parameters for static driver

Description

Create global parameters for static driver

Create global parameters for static driver

Methods

Public methods


Method new()

Create an R6 class that contains all global attributes needed in the static driver.

Usage
palm_global$new(
  title,
  author,
  institute,
  location,
  x0,
  y0,
  z0,
  t0,
  lat,
  lon,
  dx = 5
)
Arguments
title

Title of the file

author

Author, i.e. you

institute

Your institute

location

Site of the static driver

x0

x-coordinate of the lower left point in your coordinate system

y0

y-coordinate of the lower left point in your coordinate system

z0

lowest z-coordinate in your domain

t0

good question

lat

Latitude of the lower left point of your domain

lon

Longitude of the lower left point of your domain

dx

Grid spacing

Returns

Creates the PALM-Header Class

Examples
palm_global$new('Testglobal', 'Max Mustermann', 'Some Institute',
'Somewehere', 1, 1, 0, 0, 33,33, 10)

Method changeVar()

Usage
palm_global$changeVar(variable, input)

Method changeTimeVar()

Usage
palm_global$changeTimeVar(variable, input)

Method clone()

The objects of this class are cloneable with this method.

Usage
palm_global$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples


## ------------------------------------------------
## Method `palm_global$new`
## ------------------------------------------------

palm_global$new('Testglobal', 'Max Mustermann', 'Some Institute',
'Somewehere', 1, 1, 0, 0, 33,33, 10)

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