Displaying 7 results from an estimated 7 matches for "_fillvalue".
2017 Aug 14
2
ncdf4: Why are NAs converted to _FillValue when saving?
...(nc2 <- nc_open()), read the data to variable 'var2', put this variable to the file (nc1) and calculate the third variable based on var1 and var2.
So far everything is fine. But I figured out that when I write the data 'var2' to nc1, all NAs in this variable are converted to the _FillValue-value. Clearly, I expect that all NAs are converted to the _FillValue in the file, but I do not expect that also the NAs in 'var2' (i.e. the data which can be called in the R-console) is changed. Since I use this data for further calculations, the NAs should remain.
Is that a bug or intend...
2017 Aug 14
0
ncdf4: Why are NAs converted to _FillValue when saving?
...he
> data to variable 'var2', put this variable to the file (nc1) and calculate
> the third variable based on var1 and var2.
>
> So far everything is fine. But I figured out that when I write the data
> 'var2' to nc1, all NAs in this variable are converted to the
> _FillValue-value. Clearly, I expect that all NAs are converted to the
> _FillValue in the file, but I do not expect that also the NAs in 'var2'
> (i.e. the data which can be called in the R-console) is changed. Since I
> use this data for further calculations, the NAs should remain.
>
>...
2017 Aug 28
3
Extracting subset from netCDF file using lat/lon and converting into .csv in R
.../radiation etc. I get the following information when using
*nc_open* function in R:
datafile: https://www.dropbox.com/s/xpo7zklcmtm3g5r/gfdl_preci.nc?dl=0
File gfdl_preci.nc (NC_FORMAT_NETCDF4_CLASSIC):
1 variables (excluding dimension variables):
float prAdjust[lon,lat,time]
_FillValue: 1.00000002004088e+20
missing_value: 1.00000002004088e+20
comment: includes all types (rain, snow, large-scale,
convective, etc.)
long_name: Bias-Corrected Precipitation
units: kg m-2 s-1
standard_name: precipitation_flux
3 dimension...
2017 Aug 28
0
Extracting subset from netCDF file using lat/lon and converting into .csv in R
...tion when using
> *nc_open* function in R:
>
> datafile: https://www.dropbox.com/s/xpo7zklcmtm3g5r/gfdl_preci.nc?dl=0
>
> File gfdl_preci.nc (NC_FORMAT_NETCDF4_CLASSIC):
>
> 1 variables (excluding dimension variables):
> float prAdjust[lon,lat,time]
> _FillValue: 1.00000002004088e+20
> missing_value: 1.00000002004088e+20
> comment: includes all types (rain, snow, large-scale,
> convective, etc.)
> long_name: Bias-Corrected Precipitation
> units: kg m-2 s-1
> standard_name: precipitati...
2011 May 06
1
read a netcdf file _Fill_value=-32768
...quot; ;
lon:valid_range = -100., 45. ;
double sst(time, lat, lon) ;
sst:long_name = "sea surface temperature" ;
sst:standard_name = "sea_surface_temperature" ;
sst:units = "K" ;
sst:_FillValue = -32768. ;
double time(time) ;
time:long_name = "time" ;
time:standard_name = "time" ;
time:units = "seconds since 1981-01-01 00:00:00" ;
time:ancillary_variables = "sst_data_processed_flag&q...
2011 Jun 17
0
Inconsistent results from var.get.nc in RNetCDF
...north" ;
float lon(lon) ;
lon:long_name = "longitude" ;
lon:standard_name = "longitude" ;
lon:units = "degrees_east" ;
short tmax(lon, lat, month) ;
tmax:missing_value = -9999 ;
tmax:_FillValue = -9999 ;
tmax:units = "degree_celsius" ;
tmax:scale_factor = 0.01 ;
tmax:valid_min = -5000 ;
tmax:valid_max = 6000 ;
-----
I am getting behavior I don't understand when I use the var.get.nc
function from the RNetCDF package.
F...
2011 Sep 07
3
Editing the variables attributes section in the netCDF header of netCDF files created using the package ncdf.
...:axis = "X" ;
byte ccd(time, lat, lon) ;
ccd:Unit_duration = 7.5f ;
ccd:units = "Unit_duration mins" ;
ccd:long_name = "Cold Cloud Duration" ;
ccd:short_name = "ccd" ;
ccd:_FillValue = -1b ;
And here is my attempt when using the ncdf package:
netcdf ccd1983_04_08_r {
dimensions:
lon = 1894 ;
lat = 1974 ;
time = UNLIMITED ; // (1 currently)
variables:
double lon(lon) ;
lon:units = "" ;
double lat(lat) ;...