Hi,<br><br>I don&#39;t think that GrADS can handle this. You could split the dates into separate files with some netcdf tool (eg. NCO or CDO), and then open three files in GrADS instead.<br><br>Regards,<br>Heiner<br><br><div class="gmail_quote">
On Tue, Mar 10, 2009 at 8:58 AM, Francoise Cheroux <span dir="ltr">&lt;<a href="mailto:francoise.cheroux@meteo.fr">francoise.cheroux@meteo.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
We have data in a netcdf file with non linear time, that is 2 January, 11<br>
January and 21 Januany (see the file header below).  Grads plots the data as<br>
if they were 2 January, 11 and 20 January (regular 10 day intervals).<br>
<br>
How could grads take into account the dates written in the netcdf file?<br>
<br>
Thanks for your response.<br>
<br>
Regards,<br>
<br>
Martine Michou<br>
<br>
<br>
<br>
netcdf CCMVal2_REF-B1_CNRM-ACM_2_T3I_va_01 {<br>
dimensions:<br>
    lon = 128 ;<br>
    lat = 64 ;<br>
    plev = 60 ;<br>
    time = UNLIMITED ; // (3 currently)<br>
variables:<br>
    float lon(lon) ;<br>
        lon:long_name = &quot;longitude&quot; ;<br>
        lon:units = &quot;degrees_east&quot; ;<br>
        lon:standard_name = &quot;longitude&quot; ;<br>
    float lat(lat) ;<br>
        lat:long_name = &quot;latitude&quot; ;<br>
        lat:units = &quot;degrees_north&quot; ;<br>
        lat:standard_name = &quot;latitude&quot; ;<br>
    float plev(plev) ;<br>
        plev:long_name = &quot;pressure&quot; ;<br>
        plev:units = &quot;Pa&quot; ;<br>
    double time(time) ;<br>
        time:units = &quot;hours since 1990-01-01 00:00&quot; ;<br>
    float va(time, plev, lat, lon) ;<br>
        va:long_name = &quot;northward_wind&quot; ;<br>
        va:units = &quot;m s-1&quot; ;<br>
        va:grid_type = &quot;gaussian&quot; ;<br>
        va:comment = &quot;instantaneous values&quot; ;<br>
    float APS(lat, lon) ;<br>
        APS:long_name = &quot;APS&quot; ;<br>
        APS:units = &quot;level&quot; ;<br>
        APS:missing_value = -999.f ;<br>
<br>
// global attributes:<br>
        :CDI = &quot;Climate Data Interface version 1.2.0&quot; ;<br>
        :Conventions = &quot;CF-1.0&quot; ;<br>
        :history = &quot;Mon Mar 09 16:29:33 2009: cdo selsmon,1<br>
CCMVal2_REF-B1_CNRM-ACM_2_T3I_va.nc CCMVal2_REF-B1_CNRM-ACM_2_T3I_va_01.nc\n&quot;,<br>
            &quot;Thu Mar  5 11:46:43 2009: ncrcat M29/<a href="http://va_h0.M29_1990_01_02.nc" target="_blank">va_h0.M29_1990_01_02.nc</a><br>
M29/<a href="http://va_h0.M29_1990_01_11.nc" target="_blank">va_h0.M29_1990_01_11.nc</a> M29/<a href="http://va_h0.M29_1990_01_21.nc" target="_blank">va_h0.M29_1990_01_21.nc</a><br>
M29/<a href="http://va_h0.M29_1990_02_01.nc" target="_blank">va_h0.M29_1990_02_01.nc</a> M29/<a href="http://va_h0.M29_1990_02_11.nc" target="_blank">va_h0.M29_1990_02_11.nc</a><br>
M29/<a href="http://va_h0.M29_1990_02_21.nc" target="_blank">va_h0.M29_1990_02_21.nc</a> M29/<a href="http://va_h0.M29_1990_03_01.nc" target="_blank">va_h0.M29_1990_03_01.nc</a><br>
M29/<a href="http://va_h0.M29_1990_03_11.nc" target="_blank">va_h0.M29_1990_03_11.nc</a> M29/<a href="http://va_h0.M29_1990_03_21.nc" target="_blank">va_h0.M29_1990_03_21.nc</a><br>
M29/<a href="http://va_h0.M29_1990_04_01.nc" target="_blank">va_h0.M29_1990_04_01.nc</a> M29/<a href="http://va_h0.M29_1990_04_11.nc" target="_blank">va_h0.M29_1990_04_11.nc</a><br>
M29/<a href="http://va_h0.M29_1990_04_21.nc" target="_blank">va_h0.M29_1990_04_21.nc</a> M29/<a href="http://va_h0.M29_1990_05_01.nc" target="_blank">va_h0.M29_1990_05_01.nc</a><br>
M29/<a href="http://va_h0.M29_1990_05_11.nc" target="_blank">va_h0.M29_1990_05_11.nc</a> M29/<a href="http://va_h0.M29_1990_05_21.nc" target="_blank">va_h0.M29_1990_05_21.nc</a><br>
M29/<a href="http://va_h0.M29_1990_06_01.nc" target="_blank">va_h0.M29_1990_06_01.nc</a> M29/<a href="http://va_h0.M29_1990_06_11.nc" target="_blank">va_h0.M29_1990_06_11.nc</a><br>
M29/<a href="http://va_h0.M29_1990_06_21.nc" target="_blank">va_h0.M29_1990_06_21.nc</a> M29/<a href="http://va_h0.M29_1990_07_01.nc" target="_blank">va_h0.M29_1990_07_01.nc</a><br>
M29/<a href="http://va_h0.M29_1990_07_11.nc" target="_blank">va_h0.M29_1990_07_11.nc</a> M29/<a href="http://va_h0.M29_1990_07_21.nc" target="_blank">va_h0.M29_1990_07_21.nc</a><br>
M29/<a href="http://va_h0.M29_1990_08_01.nc" target="_blank">va_h0.M29_1990_08_01.nc</a> M29/<a href="http://va_h0.M29_1990_08_11.nc" target="_blank">va_h0.M29_1990_08_11.nc</a><br>
M29/<a href="http://va_h0.M29_1990_08_21.nc" target="_blank">va_h0.M29_1990_08_21.nc</a> M29/<a href="http://va_h0.M29_1990_09_01.nc" target="_blank">va_h0.M29_1990_09_01.nc</a><br>
M29/<a href="http://va_h0.M29_1990_09_11.nc" target="_blank">va_h0.M29_1990_09_11.nc</a> M29/<a href="http://va_h0.M29_1990_09_21.nc" target="_blank">va_h0.M29_1990_09_21.nc</a><br>
M29/<a href="http://va_h0.M29_1990_10_01.nc" target="_blank">va_h0.M29_1990_10_01.nc</a> M29/<a href="http://va_h0.M29_1990_10_11.nc" target="_blank">va_h0.M29_1990_10_11.nc</a><br>
M29/<a href="http://va_h0.M29_1990_10_21.nc" target="_blank">va_h0.M29_1990_10_21.nc</a> M29/<a href="http://va_h0.M29_1990_11_01.nc" target="_blank">va_h0.M29_1990_11_01.nc</a><br>
M29/<a href="http://va_h0.M29_1990_11_11.nc" target="_blank">va_h0.M29_1990_11_11.nc</a> M29/<a href="http://va_h0.M29_1990_11_21.nc" target="_blank">va_h0.M29_1990_11_21.nc</a><br>
M29/<a href="http://va_h0.M29_1990_12_01.nc" target="_blank">va_h0.M29_1990_12_01.nc</a> M29/<a href="http://va_h0.M29_1990_12_11.nc" target="_blank">va_h0.M29_1990_12_11.nc</a><br>
M29/<a href="http://va_h0.M29_1990_12_21.nc" target="_blank">va_h0.M29_1990_12_21.nc</a> M29/CCMVal2_REF-B1_CNRM-ACM_2_T3I_va.nc\n&quot;,<br>
            &quot;Thu Mar 05 11:45:46 2009: cdo splitday TMP/<a href="http://mon01.nc" target="_blank">mon01.nc</a> TMP/day\n&quot;,<br>
            &quot;Thu Mar 05 11:45:09 2009: cdo splitmon M29/<a href="http://va_h0.M29.1990.nc" target="_blank">va_h0.M29.1990.nc</a><br>
TMP/mon\n&quot;,<br>
            &quot;created at time: Thu Mar  5 08:02:01 2009&quot; ;<br>
        :institution = &quot;CNRM (Centre National de Recherches Meteorologiques,<br>
Meteo-France, Toulouse, France)&quot; ;<br>
        :title = &quot;ARPEGE T42L60 coupled to MOCAGE-Climat&quot; ;<br>
        :references = &quot;arpege version 4&quot; ;<br>
        :comment = &quot;For accumulated variables: january 1st=accumulation over<br>
12h--&gt;18h + 18h--&gt;0h of january 1st + 0h--&gt;6h and 6h--&gt;12h of january 2nd.<br>
For instantaneous variables: january 1st= mean over 18h of january 1st +<br>
0h,6h and 12h of january 2nd.&quot; ;<br>
        :nco_openmp_thread_number = 1 ;<br>
        :CDO = &quot;Climate Data Operators version 1.2.0<br>
(<a href="http://www.mpimet.mpg.de/cdo" target="_blank">http://www.mpimet.mpg.de/cdo</a>)&quot; ;<br>
data:<br>
<br>
 lon = 0, 2.8125, 5.625, 8.4375, 11.25, 14.0625, 16.875, 19.6875, 22.5,<br>
    25.3125, 28.125, 30.9375, 33.75, 36.5625, 39.375, 42.1875, 45, 47.8125,<br>
    50.625, 53.4375, 56.25, 59.0625, 61.875, 64.6875, 67.5, 70.3125, 73.125,<br>
    75.9375, 78.75, 81.5625, 84.375, 87.1875, 90, 92.8125, 95.625, 98.4375,<br>
    101.25, 104.0625, 106.875, 109.6875, 112.5, 115.3125, 118.125, 120.9375,<br>
    123.75, 126.5625, 129.375, 132.1875, 135, 137.8125, 140.625, 143.4375,<br>
    146.25, 149.0625, 151.875, 154.6875, 157.5, 160.3125, 163.125, 165.9375,<br>
    168.75, 171.5625, 174.375, 177.1875, 180, 182.8125, 185.625, 188.4375,<br>
    191.25, 194.0625, 196.875, 199.6875, 202.5, 205.3125, 208.125, 210.9375,<br>
    213.75, 216.5625, 219.375, 222.1875, 225, 227.8125, 230.625, 233.4375,<br>
    236.25, 239.0625, 241.875, 244.6875, 247.5, 250.3125, 253.125, 255.9375,<br>
    258.75, 261.5625, 264.375, 267.1875, 270, 272.8125, 275.625, 278.4375,<br>
    281.25, 284.0625, 286.875, 289.6875, 292.5, 295.3125, 298.125, 300.9375,<br>
    303.75, 306.5625, 309.375, 312.1875, 315, 317.8125, 320.625, 323.4375,<br>
    326.25, 329.0625, 331.875, 334.6875, 337.5, 340.3125, 343.125, 345.9375,<br>
    348.75, 351.5625, 354.375, 357.1875 ;<br>
<br>
 lat = -87.8638, -85.09653, -82.31291, -79.5256, -76.7369, -73.94752,<br>
    -71.15775, -68.36776, -65.57761, -62.78735, -59.99702, -57.20663,<br>
    -54.4162, -51.62573, -48.83524, -46.04473, -43.2542, -40.46365,<br>
    -37.67309, -34.88252, -32.09195, -29.30136, -26.51077, -23.72017,<br>
    -20.92957, -18.13897, -15.34836, -12.55776, -9.767145, -6.976533,<br>
    -4.185921, -1.395307, 1.395307, 4.185921, 6.976533, 9.767145, 12.55776,<br>
    15.34836, 18.13897, 20.92957, 23.72017, 26.51077, 29.30136, 32.09195,<br>
    34.88252, 37.67309, 40.46365, 43.2542, 46.04473, 48.83524, 51.62573,<br>
    54.4162, 57.20663, 59.99702, 62.78735, 65.57761, 68.36776, 71.15775,<br>
    73.94752, 76.7369, 79.5256, 82.31291, 85.09653, 87.8638 ;<br>
<br>
 plev = 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44,<br>
    43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26,<br>
    25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7,<br>
    6, 5, 4, 3, 2, 1 ;<br>
<br>
 time = 24, 240, 480 ;<br>
}<br>
</blockquote></div><br><br clear="all"><br>-- <br>Heiner Körnich    <br>Dept. of Meteorology            Tel:  +46 8 164333<br>Stockholms University, SE-106 91 Stockholm, Sweden<br>Email: <a href="mailto:heiner@misu.su.se">heiner@misu.su.se</a>   <a href="http://www.misu.su.se/~heiner/">www.misu.su.se/~heiner/</a><br>