[gradsusr] Displaying data : all undefined values

Jennifer Adams jma at cola.iges.org
Tue Jun 9 10:28:50 EDT 2015


The 'PDEF rotllr’ was designed for the COSMO model, and I’m not certain it is going to work properly in this case, especially since your native grid is only 4x4. I would suggest looking at this data in a more abstract way, without relying on lat/lon coordinates (after you open this file, ’set mproj off’ and just display in X,Y coordinates). Remove the PDEF entry, and change the following

xdef 4 linear 1 1
ydef 4 linear 1 1
zdef 1 linear 1 1
vars 3
lon=>glon  0  y,x grid longitude
lat=>glat  0  y,x grid latitude
pr  0  t,y,x  precipitation flux
endvars

—Jennifer

On Jun 9, 2015, at 9:31 AM, zineb lotfi <zineb.lotfi at gmail.com> wrote:

> unfortunately I can't run GrADS correctly. I tried to write a descriptor file and used "open" to work with it. It actually opens successfully but whenever I try to display the data it gaves me this error message :
> 
> ga-> d pr
> Notice:  Automatic Grid Interpolation Taking Place
> Cannot contour grid - all undefined values 
> 
> Can you please give me a solution to try? I put my version of Grads, my descriptor file and the result of ncdump-h below.
> I have another question will this interpolation change my data, do I need to take it into consideration when analysing it ?
> 
> Thank you so much for your help
> ------------------------------------------------------------------------------------------------------
> GrADS version : Grid Analysis and Display System (GrADS) Version 2.0.1
> ------------------------------------------------------------------------------------------------------
> DESCRIPTOR FILE
> DSET   ^pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_1976-2005.nc
> DTYPE netcdf
> TITLE pr_CNRM_CLMcom_hist
> UNDEF  1.0E20
> PDEF 4 4 rotllr -162.0 39.25 0.11 0.11 -13.3050003052 -1.925
> XDEF 16 LEVELS  47.0483 47.0769 47.1054 47.1336 47.1545 47.1832 47.2117 47.2399 47.2606 47.2894 47.3179 47.3462 47.3667 47.3956 47.4242 47.4525 
> YDEF 16 LEVELS  -1.72807 -1.57226 -1.41627 -1.26012 -1.77038 -1.61427 -1.45798 -1.30153 -1.81286 -1.65645 -1.49986 -1.34311 -1.8555 -1.69879 -1.54191 -1.38485
> ZDEF 0 LEVELS 0
> TDEF 10958 LINEAR 01JAN1976 1DY
> VARS 6
> time   0  t Time
> rlat   0  x  Rotated latitude
> rlon   0  y  Rotated longitude
> lon    0  x,y longitude
> lat    0  x,y latitude
> pr     0  t,x,y precipitation
> ENDVARS
> ---------------------------------------------------------------------------------------------------------
> ncdump -h result
> netcdf pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_1976-2005 {
> dimensions:
>     rlat = 4 ;
>     rlon = 4 ;
>     time = UNLIMITED ; // (10958 currently)
> variables:
>     float lat(rlat, rlon) ;
>         lat:standard_name = "latitude" ;
>         lat:long_name = "latitude coordinate" ;
>         lat:units = "degrees_north" ;
>         lat:bounds = "lat_vertices" ;
>     float lon(rlat, rlon) ;
>         lon:standard_name = "longitude" ;
>         lon:long_name = "longitude coordinate" ;
>         lon:units = "degrees_east" ;
>         lon:bounds = "lon_vertices" ;
>     float pr(time, rlat, rlon) ;
>         pr:standard_name = "precipitation_flux" ;
>         pr:long_name = "Precipitation" ;
>         pr:comment = "at surface; includes both liquid and solid phases from all types of clouds (both large-scale and convective)" ;
>         pr:units = "kg m-2 s-1" ;
>         pr:cell_methods = "time: mean" ;
>         pr:missing_value = 1.e+20f ;
>         pr:_FillValue = 1.e+20f ;
>         pr:associated_files = "gridspecFile: gridspec_atmos_fx_CLMcom-CCLM4-8-17_historical_r0i0p0.nc" ;
>         pr:grid_mapping = "rotated_latitude_longitude" ;
>         pr:coordinates = "lat lon" ;
>     double rlat(rlat) ;
>         rlat:units = "degrees" ;
>         rlat:axis = "Y" ;
>         rlat:long_name = "latitude in rotated pole grid" ;
>         rlat:standard_name = "grid_latitude" ;
>     double rlon(rlon) ;
>         rlon:units = "degrees" ;
>         rlon:axis = "X" ;
>         rlon:long_name = "longitude in rotated pole grid" ;
>         rlon:standard_name = "grid_longitude" ;
>     int rotated_latitude_longitude ;
>         rotated_latitude_longitude:grid_mapping_name = "rotated_latitude_longitude" ;
>         rotated_latitude_longitude:grid_north_pole_latitude = 39.25 ;
>         rotated_latitude_longitude:grid_north_pole_longitude = -162. ;
>         rotated_latitude_longitude:north_pole_grid_longitude = 0. ;
>     double time(time) ;
>         time:bounds = "time_bnds" ;
>         time:units = "days since 1949-12-01T00:00:00Z" ;
>         time:calendar = "proleptic_gregorian" ;
>         time:axis = "T" ;
>         time:long_name = "time" ;
>         time:standard_name = "time" ;
> 
> // global attributes:
>         :institution = "Climate Limited-area Modelling Community (CLM-Community)" ;
>         :institute_id = "CLMcom" ;
>         :experiment_id = "historical" ;
>         :source = "CLMcom-CCLM4-8-17" ;
>         :model_id = "CLMcom-CCLM4-8-17" ;
>         :contact = "cordex-cclm at dkrz.de" ;
>         :history = "Tue Jun  9 10:55:03 2015: ncrcat pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19760101-19801231.nc_nantes.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19810101-19851231.nc_nantes.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19860101-19901231.nc_nantes.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19910101-19951231.nc_nantes.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19960101-20001231.nc_nantes.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_20010101-20051231.nc_nantes.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_1976-2005.nc\n",
>             "Mon Jun  8 16:46:49 2015: ncks -C -x -v lat_vertices,lon_vertices,time_bnds -d rlat,-1.9250001,-1.595 -d rlon,-13.3050006,-12.9750003814 pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19760101-19801231.nc pr_EUR-11_CNRM-CERFACS-CNRM-CM5_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19760101-19801231.nc_nantes.nc\n",
>             "Processing for CORDEX archive at DKRZ (SVN revision 4244 http://svn-mad.zmaw.de/svn/mad/Model/IMDI/tags/cclm/cosmo_090213_4.8_clm17_cordex/util/running) 2014-03-24T10:24:23Z CMOR rewrote data to comply with CF standards and CORDEX requirements." ;
>         :comment = "CORDEX Europe RCM CCLM 0.11 deg EUR-11" ;
>         :references = "http://www.clm-community.eu/" ;
>         :initialization_method = 1 ;
>         :physics_version = 1 ;
>         :tracking_id = "dd5f3a1b-646e-484a-b64c-04499e21af42" ;
>         :title = "CLMcom-CCLM4-8-17 model output prepared for CORDEX historical" ;
>         :CORDEX_domain = "EUR-11" ;
>         :driving_experiment = "CNRM-CERFACS-CNRM-CM5, historical, r1i1p1" ;
>         :driving_model_id = "CNRM-CERFACS-CNRM-CM5" ;
>         :driving_model_ensemble_member = "r1i1p1" ;
>         :driving_experiment_name = "historical" ;
>         :rcm_version_id = "v1" ;
>         :product = "output" ;
>         :experiment = "historical" ;
>         :frequency = "day" ;
>         :creation_date = "2014-03-24T10:24:23Z" ;
>         :Conventions = "CF-1.4" ;
>         :project_id = "CORDEX" ;
>         :table_id = "Table day (Sept 2013) 0cf1782745489246c9ff07bd6619f558" ;
>         :modeling_realm = "atmos" ;
>         :realization = 1 ;
>         :cmor_version = "2.9.1" ;
>         :NCO = "4.4.2" ;
>         :nco_openmp_thread_number = 1 ;
> }
> 
> LOTFI Zineb
> Ecole Centrale de Nantes
> Master Sciences et Techniques des Environnements Urbains
> Mobile: 07 60 13 09 50
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150609/4021b3ef/attachment-0001.html 


More information about the gradsusr mailing list