Description Usage Arguments Details
Convert GRIM file to netCDF
1 2 3 4 5 6 7 8 9 10 11 12 |
filename |
Filename for the netCDF input (relative or absolute path). |
varid |
String with the main variable identifier. |
longname |
String with the output variable's long name. |
scale_factor |
Numeric value with scale factor (units conversion). |
units |
String with the output units. |
lat |
Numeric vector with the latitude values. |
lon |
Numeric vector with the longitude values. |
FUN |
Infix function to perform the conversion. |
overwrite |
Boolean flag to indicate if the output file should be overwritten (if it exists). |
output_filename |
Output filename. |
A GRIM file is a structured ASCII file, that was used for early versions of the CRU TS data-set. This function is particularly useful to parse the elevations file provided here: https://crudata.uea.ac.uk/~timm/grid/CRU_TS_2_0.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.