Displaying 3 results from an estimated 3 matches for "degreese".
Did you mean:
degrees
2012 Jul 04
3
Please help
...7 78.73 79.70 79.62
-----------------------------------------------------------------------------------------------------------------------
And then this is the script I wrote:
setwd("E:/grid")
#defining dimension
x=dim.def.ncdf("Lon","degreesE",140.0251:146.6751)
y=dim.def.ncdf("Lat","degreesN",(-31.025):(-38.975))
t=dim.def.ncdf("Time","1968-01",1:12,unlim=TRUE)
#setup variable
varmr=var.def.ncdf("mr","mm",list(x,y,t),-99.00,
longname="monthly rainfall")...
2017 Aug 14
2
ncdf4: Why are NAs converted to _FillValue when saving?
...ks for any explanation.
Kind regards
Raphael
Minimal working example (adapted from netcdf4 manual):
library(ncdf4)
#----------------
# Make dimensions
#----------------
xvals <- 1:360
yvals <- -90:90
nx <- length(xvals)
ny <- length(yvals)
xdim <- ncdim_def('Lon','degreesE', xvals )
ydim <- ncdim_def('Lat','degreesE', yvals )
tdim <- ncdim_def('Time','days since 1900-01-01', 0, unlim=TRUE )
#---------
# Make var
#---------
mv <- 1.e30 # missing value
var_temp <- ncvar_def('Temperature','K', list(xdim...
2017 Aug 14
0
ncdf4: Why are NAs converted to _FillValue when saving?
...t; Minimal working example (adapted from netcdf4 manual):
>
> library(ncdf4)
> #----------------
> # Make dimensions
> #----------------
> xvals <- 1:360
> yvals <- -90:90
> nx <- length(xvals)
> ny <- length(yvals)
> xdim <- ncdim_def('Lon','degreesE', xvals )
> ydim <- ncdim_def('Lat','degreesE', yvals )
> tdim <- ncdim_def('Time','days since 1900-01-01', 0, unlim=TRUE )
> #---------
> # Make var
> #---------
> mv <- 1.e30 # missing value
> var_temp <- ncvar_def('Temp...