loadSims | R Documentation |
Loads netCDF files and converts units from cm depth to feet NGVD29. highly recommended to set raster options as in the example section. Note: it is highly recommended that users change terra options to write temp files to disk rather than work in memory. See Examples section below.
loadSims(directory = file.choose())
directory |
the address of an individual file in a folder of EverForecast .nc files. The default action is <code>file.choose()</code>; a browser menu appears so the user can select the the desired directory by identifying a single .nc file in the folder of netCDFs. |
A SpatRaster object with units feet NGVD29
## Not run:
### recommended raster options to save to disk rather than work in
### memory. My settings:
# terraOptions(memfrac=0.7, memmax = 2,
# tmpdir = "G:/data/raster/temp/delete",
# todisk = TRUE,
# progress = 1)
# select a .nc in the folder you want to load
# efcDat <- loadSims(directory = file.choose())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.