Displaying 3 results from an estimated 3 matches for "ncatt_get".
2017 Aug 28
3
Extracting subset from netCDF file using lat/lon and converting into .csv in R
...;- nc_open(ncfname)
print(ncin)# get longitude and latitude
lon <- ncvar_get(ncin,"lon")
nlon <- dim(lon)
head(lon)
lat <- ncvar_get(ncin,"lat")
nlat <- dim(lat)
head(lat)
print(c(nlon,nlat))
# get time
time <- ncvar_get(ncin,"time")
time
tunits <- ncatt_get(ncin,"time","units")
nt <- dim(time)
nt
tunits
# get variable
preci.array <- ncvar_get(ncin,dname)
dlname <- ncatt_get(ncin,"prAdjust","long_name")
dunits <- ncatt_get(ncin,"prAdjust","units")
fillvalue <- ncatt_get(ncin,...
2017 Aug 28
0
Extracting subset from netCDF file using lat/lon and converting into .csv in R
...lt;- ncvar_get(ncin,"lon")
> nlon <- dim(lon)
> head(lon)
>
> lat <- ncvar_get(ncin,"lat")
> nlat <- dim(lat)
> head(lat)
>
> print(c(nlon,nlat))
> # get time
> time <- ncvar_get(ncin,"time")
> time
>
> tunits <- ncatt_get(ncin,"time","units")
> nt <- dim(time)
> nt
> tunits
> # get variable
> preci.array <- ncvar_get(ncin,dname)
>
> dlname <- ncatt_get(ncin,"prAdjust","long_name")
>
> dunits <- ncatt_get(ncin,"prAdjust","...
2013 Feb 05
1
ncdf4 installation problem: undefined symbol [SEC=UNCLASSIFIED]
...ate html
nc_enddef html
nc_open html
nc_redef html
nc_sync html
nc_version html
ncatt_get html
ncatt_put html
ncdf4-internal html
ncdim_def html
ncvar_add html
ncvar_change_missval html
ncv...