Description Usage Arguments Value
Check existence of a variable inside a given .nc file. If the variable does not exist, use the replacement one.
1 | fix_coordinates(nc, coordinates, spare_coordinates)
|
nc |
file with extension .nc already loaded in the R environment. |
coordinates |
Grid variables (for instance, longitude and latitude). |
spare_coordinates |
Spare names for coordinates. Variables such as longitude and latitude may be named differently in every .nc file. In order to account this possibility, you can provide a set of spare names for both coordinates. |
Returns existing coordinates (either coordinates or spare_coordinates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.