Project

General

Profile

Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored!

Added by Serge Tom over 4 years ago

Dear CDO user,

I am trying to merge wind data using cat. But I am getting this type of Warning:

Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored!

I would like to know what this type warning mean> doesn't it have an impact on my merged data.

Thank you in advance
Serge


Replies (6)

RE: Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored! - Added by Ralf Mueller over 4 years ago

hi Serge!

This error is related to your input data. Without it, it's really hard (and I mean impossible) to comment on this.

cheers
ralf

RE: Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored! - Added by Serge Tom over 4 years ago

thank you ralf,

I join the information of my input data below
dimensions:
lon = 192 ;
lat = 94 ;
time = UNLIMITED ; // (2920 currently)
variables:
float lat(lat) ;
lat:units = "degrees_north" ;
lat:actual_range = 88.542f, -88.542f ;
lat:long_name = "Latitude" ;
lat:standard_name = "latitude" ;
lat:axis = "Y" ;
lat:coordinate_defines = "point" ;
float lon(lon) ;
lon:units = "degrees_east" ;
lon:long_name = "Longitude" ;
lon:actual_range = 0.f, 358.125f ;
lon:standard_name = "longitude" ;
lon:axis = "X" ;
lon:coordinate_defines = "point" ;
double time(time) ;
time:units = "hours since 1800-1-1 00:00:0.0" ;
time:long_name = "Time" ;
time:actual_range = 1734480., 1743237. ;
time:delta_t = "0000-00-00 03:00:00" ;
time:standard_name = "time" ;
time:axis = "T" ;
time:coordinate_defines = "point" ;
time:calendar = "noleap" ;
float uwnd(time, lat, lon) ;
uwnd:long_name = "3-hourly U-wind" ;
uwnd:valid_range = -32766s, 27234s ;
uwnd:unpacked_valid_range = -300.f, 300.f ;
uwnd:actual_range = -35.02f, 38.19f ;
uwnd:units = "m/s" ;
uwnd:missing_value = 32766s ;
uwnd:_FillValue = -32767.f ;
uwnd:precision = 2s ;
uwnd:GRIB_id = 33s ;
uwnd:GRIB_name = "UGRD10mFcst" ;
uwnd:var_desc = "U-wind" ;
uwnd:dataset = "NOAA-CIRES 20th Century Reanalysis version 2" ;
uwnd:level_desc = "10 m" ;
uwnd:statistic = "Ensemble Mean" ;
uwnd:parent_stat = "Other" ;
uwnd:standard_name = "grid_eastward_wind" ;

RE: Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored! - Added by Serge Tom over 4 years ago

Ralf,

Normally everthings is fine but I wondering if the warning message will not have any have any impact on my output file.

RE: Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored! - Added by Ralf Mueller over 4 years ago

Can I download the input from somewhere else? you could also use MPI's ftp server: ftp.zmaw.de/incoming, user anonymous, passwd: an email-address

RE: Warning (cdfScanVarAttr): Inconsistent data type for attribute uwnd:valid_range, ignored! - Added by Uwe Schulzweida over 4 years ago

Some attributes must be evaluated to understand the data. One of them is the attribute valid_range to find the valid range of the data.
The valid_range attribute of your data can't be evaluated because the data type (short integer) differs from the data type (float) of the array:

 float uwnd(time, lat, lon) ;
 uwnd:valid_range = -32766s, 27234s ;
In this case this attribute will be ignored because the data type is inconsistent.

    (1-6/6)