Skip to contents

Convert aeme.yaml file to list

Usage

yaml_to_aeme(path, file)

Arguments

path

directory where aeme.yaml file is located. Can be used instead of file argument.

file

filepath; to aeme.yaml file. Can be used instead of path and file arguments.

Value

aeme object

Examples

aeme_yaml <- system.file("extdata/lake/aeme.yaml", package = "AEME")
aeme <- yaml_to_aeme(file = aeme_yaml)
aeme
#> 
#> ── AEME ────────────────────────────────────────────────────────────────────────
#> 
#> ── Lake ──
#> 
#> Wainamu (ID: LID45819)
#>  Lat: -36.89; Lon: 174.47
#>  Elev: 23.64m; Depth: 13.07m; Area: 152343 m2
#> 
#> ── Time ──
#> 
#>  Start: 2020-08-01; Stop: 2021-06-30; Time step: 3600
#>  Spin up (days): GLM: 2; GOTM: 1; DYRESM: 1
#> 
#> ── Configuration ──
#> 
#>  Model:
#>  Path: Not set
#>  Model controls: Absent
#>  Use biogeochemical model: No
#>Model Configuration ─────────────────────────────────────────┐
#>Model              Physical         Biogeochemical
#> │ ---                                                          │
#> │       DY-CD               Absent              Absent
#> │      GLM-AED              Absent              Absent
#> │      GOTM-WET             Absent              Absent
#> └──────────────────────────────────────────────────────────────┘
#> 
#> ── Observations ──
#> 
#>  Lake: Present; Level: Present
#> 
#> ── Input ──
#> 
#>  Initial profile: Absent; Initial depth: 13.07m
#>  Hypsograph: Present (n=132)
#>  Meteo: Present; Use longwave: TRUE; Kw: 1.31
#> 
#> ── Inflows ──
#> 
#>  Number of inflows: 1; Names: FWMT
#>  Scaling factors: DY-CD: 1; GLM-AED: 1; GOTM-WET: 1
#> 
#> ── Outflows ──
#> 
#>  Data: Present
#>  Scaling factors: DY-CD: 1; GLM-AED: 1; GOTM-WET: 1
#> 
#> ── Water Balance ──
#> 
#>  Method: 2; Use: obs
#>  Modelled: Absent; Water balance: Absent
#> 
#> ── Parameters ──
#> 
#>  Number of parameters: 0
#> 
#> ── Output ──
#> 
#>  DY-CD: 0
#>  GLM-AED: 0
#>  GOTM-WET: 0
#>  Variables: 0
#> None