Description Usage Arguments Value See Also Examples
PutSnodasNcdf
Put the output of ReadSnodasDepthSweDate into a netcdf file.
1 | PutSnodasNcdf(snodasList, outputDir = ".", lat = NULL, lon = NULL)
|
snodasList |
The output of ReadSnodasDepthSweDate. |
outputDir |
Character. The directory path where the output files are to be written. |
lat |
Optional array of latitude values to be written out. Must be 1D. |
lon |
Optional array of longitude values to be written out. Must be 1D. |
Success if the filename which is (SNODAS_YYYYMMDD.nc), otherwise NULL.
Other SNODAS: CalcSnodasCoords
,
GetSnodasDepthSweDate
,
GetSnodasPointTs
,
PutSnodasCoordsNcdf
,
ReadSnodasDepthSweDate
1 2 3 4 5 6 | ## Not run:
snodasGot <- GetSnodasDepthSweDate(as.POSIXct('2015-02-28'))
if(snodasGot) snodasList <- ReadSnodasDepthSweDate(as.POSIXct('2015-02-28'))
PutSnodasNcdf(snodasList)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.