Description Usage Arguments Details Value Author(s) References Examples
A program to extarct the values from the NC4 image by overlaying the subject locations.
1 | extractVNC4(tarshp, ncin, bandVar, prj)
|
tarshp |
The point objects, format: |
ncin |
the nc4 object by nc_open. |
bandVar |
The band name to be used for extration from the NC4 file |
prj |
The project information, default: NA |
This function can be used to extract values from the NC4 images (such as satellite images)
The values extracted in the same sequence with the point object. Format: vector
Lianfa Li, lspatial@gmail.com
http://disc.sci.gsfc.nasa.gov/daac-bin/FTPSubset2.pl)
1 2 3 4 5 6 7 8 | ## Not run:
data("samplepnt")
nc4File=file.path(system.file(package = "sptemExp"), "extdata", "ancdata.nc4")
ncin0=ncdf4::nc_open(nc4File)
extRes=extractVNC4(samplepnt,ncin0,"TLML")
extRes
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.