Description Usage Arguments Value Examples
Converts .hdf file to .nc file using h4toncff_nc4 http://www.hdfeos.org/software/h4cflib.php
1 | maiac_2nc4(file, converterPath = "./executables/h4toncff_nc4", cleanup = TRUE)
|
file |
absolute path of file to be converted |
converterPath |
location of converter function |
cleanup |
logical specifying whether to remove original .hdf file |
Absolute path of converted NetCDF file.
1 2 3 4 5 6 7 | ## Not run:
hdfPath <- maiac_downloadNorthAmerica("h01v04", 20171009, 2150)
ncdfPath <- maiac_2nc4(hdfPath)
nc <- ncdf4::nc_open(ncdfPath)
nc
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.