[gradsusr] Changing TDEF Interval Does Not Work

Justin Hicks jhicks2014 at gmail.com
Thu Jul 5 16:47:53 EDT 2018


GrADS community,

I am running into a strange issue concerning the TDEF entry in my dummy
control file. I am trying to change the TDEF interval entry from '1dy' to
'1mo', as I need the first day of every month for computational purposes.
However, when I change it to an interval of 1 month and open up the file /
display the variable, the interval is correct, but the data displays as if
the interval is still daily. For example, if I set the time environment
from t=1 to t=2, the interval that shows up is 00Z01jan2000 to
00Z01feb2000, but the actual data that displays is from 00Z01jan2000 to
00Z02jan2000; this is pretty clear because I am plotting total precipitable
water, and there isn't much variation between the two time steps. I've also
compared this with what should be showing up for 00Z01feb2000. I'm not sure
what's going on, as I was able to get this working with another dataset.

Here is the output of ncdump -h:

netcdf NVAP-M_2000-2009.time.grid.rmp.fill.dummy.USE {
dimensions:
        lon = 360 ;
        lat = 180 ;
        time = UNLIMITED ; // (3653 currently)
variables:
        double lon(lon) ;
                lon:standard_name = "longitude" ;
                lon:long_name = "longitude" ;
                lon:units = "degrees_east" ;
                lon:axis = "X" ;
        double lat(lat) ;
                lat:standard_name = "latitude" ;
                lat:long_name = "latitude" ;
                lat:units = "degrees_north" ;
                lat:axis = "Y" ;
        double time(time) ;
                time:standard_name = "time" ;
                time:long_name = "Time" ;
                time:units = "minutes since 2000-1-1 00:00:00" ;
                time:calendar = "standard" ;
                time:axis = "T" ;
        double tpw(time, lat, lon) ;
                tpw:_FillValue = -999000000. ;
                tpw:missing_value = -999000000. ;

// global attributes:
                :CDI = "Climate Data Interface version 1.7.2 (
http://mpimet.mpg.de/cdi)" ;
                :Conventions = "CF-1.4" ;
                :history = "Thu Jul 05 16:42:12 2018: cdo
remapcon2,/home/jhicks/Downloads/mygridIN.txt
NVAP-M_2000-2009.time.grid.rmp.fill.dummy.nc
NVAP-M_2000-2009.time.grid.rmp.fill.dummy.USE.nc" ;
                :CDO = "Climate Data Operators version 1.7.2 (
http://mpimet.mpg.de/cdo)" ;
}



And here is the dummy control file:

dset /data2/NVAP-M/NVAP-M_2000-2009.time.grid.rmp.fill.dummy.USE.nc
title NASA Water Vapor Project - MEaSUREs Dataset
undef -9999
dtype netcdf
xdef 360 linear -179.5 1
ydef 180 linear -89.5 1
zdef 1 linear 0 1
tdef 120 linear 00Z01JAN2000 1mo
vars 1
tpw=>tpw  0  t,y,x  NVAP-M Climate Total Column Water Vapor
endvars


Thanks,

-Justin




-- 
*Justin Hicks*

*UndergraduateAtmospheric Sciences Major*

*GIS MinorUniversity of Maryland-College Park*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180705/9a968ab3/attachment.html>


More information about the gradsusr mailing list