<div dir="ltr">Hi Mason,<br><br>Yes of course it is synoptic monthly means at 00, 06, 12 and 18 UTC. plz have a look on the attached netcdf, grib files of the same data set and see the clear difference between netcdf and <a href="http://grib2ctl.pl">grib2ctl.pl</a> generated control file. <br>
<br><br><br>Regards,<br><br>Mubashar<br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 3:53 PM,  <span dir="ltr">&lt;<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Send gradsusr mailing list submissions to<br>
        <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of gradsusr digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: problem with <a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a> (Rowell, Mason D.)<br>
   2. Re: GrADS Return Code 141 (Jonas Kaufmann)<br>
   3. Re: Missing variables in 3-d fwrite binary file (James T. Potemra)<br>
   4. incorrect time steps (jagadish karmacharya)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 22 Jul 2011 16:06:31 +0000<br>
From: &quot;Rowell, Mason D.&quot; &lt;<a href="mailto:Mason.D.Rowell-1@ou.edu">Mason.D.Rowell-1@ou.edu</a>&gt;<br>
Subject: Re: [gradsusr] problem with <a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a><br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:EF993BF88A0DA241AA5B306C9D22DDF753FF5436@it-kodiak.sooner.net.ou.edu">EF993BF88A0DA241AA5B306C9D22DDF753FF5436@it-kodiak.sooner.net.ou.edu</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Mubashar,<br>
<br>
Are you sure the data is what you expect? Does your grib file have 4 time steps x 30 some days in the month of interest? Or are you positive it is just those for time steps averaged for each day in the month?<br>
<br>
Mason<br>
________________________________<br>
From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] on behalf of Mubashar Dogar [<a href="mailto:mubashardogar@gmail.com">mubashardogar@gmail.com</a>]<br>

Sent: Friday, July 22, 2011 10:49 AM<br>
To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
Subject: [gradsusr] problem with <a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a><br>
<br>
Dear GrADS users,<br>
<br>
I have downloaded synoptic monthly means analysis data from ECMWF for specific humidity at 1000 pressure level both in netcdf and grib format (This is the same data in grib &amp; netcdf format for three months of 1989). I encountered a bug or some issue in perl script (<a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a>&lt;<a href="http://grib2ctl.pl" target="_blank">http://grib2ctl.pl</a>&gt;) that generates GrADS readable control file for the grib data set. I am attaching grib file and control file made by <a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a>&lt;<a href="http://grib2ctl.pl" target="_blank">http://grib2ctl.pl</a>&gt; as well as index file generated by gribmap. The bug is that synoptic monthly means data have 4 time steps (at 00, 06, 12, &amp; 18) for each month but <a href="http://grib2ctl.pl" target="_blank">grib2ctl.pl</a>&lt;<a href="http://grib2ctl.pl" target="_blank">http://grib2ctl.pl</a>&gt; makes 4 time steps in each day instead of 4 time step in a month. When I opened the ctl file in GrADS, it display some values and shows rest as all undefined values. I even changed time in ctl manually and generate index again but the problem is yet unresolved. Where is the issue? Does anyone already encountered the same problem. Please see attached files for y!<br>

 our satisfaction.<br>
<br>
Mubashar<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110722/c0f45065/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110722/c0f45065/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 22 Jul 2011 18:08:45 +0200<br>
From: Jonas Kaufmann &lt;<a href="mailto:me@j0nes.de">me@j0nes.de</a>&gt;<br>
Subject: Re: [gradsusr] GrADS Return Code 141<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAMaBtSnUgU4aN-9howyDXyrL==<a href="mailto:2UBZc2J6jFLbj7cA_5O2Vm9A@mail.gmail.com">2UBZc2J6jFLbj7cA_5O2Vm9A@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hello,<br>
<br>
the machine itself was okay - however I have found the answer in the<br>
mean time. In my original script running on my WRF server I tried to<br>
capture the output of the remote ssh command for debugging using:<br>
ssh grads_machine image_generation_script.sh &amp; &gt; logfile 2&gt; errorfile<br>
<br>
I changed this to (notice the brackets):<br>
(ssh grads_machine image_generation_script.sh &amp;) &gt; logfile 2&gt; errorfile<br>
<br>
...and from this point on everything went fine - although I am not<br>
sure why this failed at all...<br>
<br>
Anyway, thank you for your help and for your hints on where to look further!<br>
<br>
Best regards and have a nice weekend!<br>
<br>
Jonas Kaufmann<br>
<br>
<br>
On Fri, Jul 22, 2011 at 17:32, Huddleston, John<br>
&lt;<a href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>&gt; wrote:<br>
&gt; Jonas<br>
&gt;<br>
&gt; That&#39;s fits my third guess that it fails on a busy machine.<br>
&gt;<br>
&gt; What is the hardware, the operating system, the memory (vmstat,free), and the ulimit of your space ?on both machines.<br>
&gt;<br>
&gt; John<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Jonas Kaufmann<br>
&gt; Sent: Friday, July 22, 2011 9:03 AM<br>
&gt; To: GrADS Users Forum<br>
&gt; Subject: Re: [gradsusr] GrADS Return Code 141<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; I have examined the environment of the calls on both my grads machine and my remote machines. There are three machines involved in this: two remote machines where WRF computations are run (these are located in different data centers and have a slightly different setup) and my grads machine where the output of the WRF computation is pushed and then a script is started via ssh.<br>

&gt;<br>
&gt; So the basic script on the remote machine looks like this:<br>
&gt; - wait for new data from the forecast model<br>
&gt; - scp the data to the grads machine<br>
&gt; - ssh grads_machine image_generation_script.sh<br>
&gt;<br>
&gt; The image_generation_script.sh running on the grads server is also quite easy:<br>
&gt; - set up environment variables<br>
&gt; - perl script to generate a grads script<br>
&gt; - grads -b -l -c <a href="http://my_generated_script.gs" target="_blank">my_generated_script.gs</a><br>
&gt;<br>
&gt; I have compared the environments on both the remote machines as the script is run via cron, and the environment variables are exactly the same on both machines. On the grads machine, I have also done this, and the environment also matches there when being called from both remote machines. There are two things that I don&#39;t get:<br>

&gt; - on one remote machine everything is working fine, and the other one fails<br>
&gt; - if I start the script on my failing remote machine manually, everything works fine, but not when it gets executed by cron<br>
&gt;<br>
&gt; Is there a way to get any additional output or debug information from grads? Do you have any other hints what I could try?<br>
&gt;<br>
&gt; Best regards and thank you for your help!<br>
&gt;<br>
&gt; Jonas Kaufmann<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jul 22, 2011 at 16:31, Huddleston, John &lt;<a href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>&gt; wrote:<br>
&gt;&gt; Jonas<br>
&gt;&gt;<br>
&gt;&gt; There could be a number of reasons. Bernd&#39;s reply is true in that a cron script does not set a PATH and so by sourcing your profile or .bashrc files it will establish your environment. It is easier to put those PATH assignments in the cron script itself. Add the GrADS variables (GADDIR and GASCRP) as well to find the library scripts.<br>

&gt;&gt;<br>
&gt;&gt; Second, the error code 141 means it is a SIGPIPE error. 141=128+13. 13 indicates a pipe error. 128 is the bash script error.<br>
&gt;&gt;<br>
&gt;&gt; Third, it could be related to the resources on your machine itself could be the problem.<br>
&gt;&gt;<br>
&gt;&gt; Can you give us your script?<br>
&gt;&gt;<br>
&gt;&gt; John Huddleston<br>
&gt;&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a><br>
&gt;&gt; [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Becker, Bernd<br>
&gt;&gt; Sent: Friday, July 22, 2011 6:50 AM<br>
&gt;&gt; To: GrADS Users Forum<br>
&gt;&gt; Subject: Re: [gradsusr] GrADS Return Code 141<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Normalerweise liegt das an nicht gesetzten Umgebungsvariablen.<br>
&gt;&gt;<br>
&gt;&gt; Einfach im Script oben nochmal<br>
&gt;&gt; . ~/profile<br>
&gt;&gt; . ~/kshrc<br>
&gt;&gt;<br>
&gt;&gt; ausfuehren. Dann klappt das. (Meistens)<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Bernd Becker ? Climate Impacts Product Development Met Office Hadley<br>
&gt;&gt; Centre ? ?FitzRoy Road ?Exeter ? Devon EX1 3PB ?United Kingdom<br>
&gt;&gt; Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050<br>
&gt;&gt; <a href="mailto:E-mail%3Abernd.becker@metoffice.gov.uk">E-mail:bernd.becker@metoffice.gov.uk</a> -<br>
&gt;&gt; <a href="http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decada" target="_blank">http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decada</a><br>
&gt;&gt; l/<br>
&gt;&gt; bernd-becker<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a><br>
&gt;&gt; [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Jonas Kaufmann<br>
&gt;&gt; Sent: 22 July 2011 12:52<br>
&gt;&gt; To: GrADS Users Forum<br>
&gt;&gt; Subject: [gradsusr] GrADS Return Code 141<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; in my setup I am running into a strange problem right now. I am calling a shell script containing a call to grads from a remote server. When I invoke my shell script manually from the remote server, everything is working fine - however when running through cron, grads silently crashes. Nothing is written on both STDOUT or STDERR. The only thing that I can get is that grads gives a return code 141 in the shell after failing.<br>

&gt;&gt;<br>
&gt;&gt; Can you tell me what this return code means? Do you have any idea why my job can be run manually but not from cron?<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Jonas Kaufmann<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 22 Jul 2011 06:48:54 -1000<br>
From: &quot;James T. Potemra&quot; &lt;<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>&gt;<br>
Subject: Re: [gradsusr] Missing variables in 3-d fwrite binary file<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4E29A9F6.5030801@hawaii.edu">4E29A9F6.5030801@hawaii.edu</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi Kevin:<br>
<br>
It looks like in your NAM-2011072200.ctl file you are defining one<br>
vertical level:<br>
<br>
zdef 1 levels 315<br>
<br>
but you then assign two levels to each variable:<br>
<br>
cpd                   2 99 Condensation Pressure Deficit (mb)<br>
isenps                2 99 Pressure (mb)<br>
u                     2 99 Zonal component of wind (ms^-1)<br>
v                     2 99 Meridional component of wind (ms^-1)<br>
<br>
I think if you change the &quot;2&#39;s&quot; above with &quot;1&quot;, or for surface you can<br>
have &quot;0&quot;,<br>
it should work ok.<br>
<br>
Jim<br>
<br>
On 7/22/11 2:49 AM, Kevin Huyck wrote:<br>
&gt; Good morning.<br>
&gt;<br>
&gt; I&#39;m attempting to configure some post-processing subroutines for<br>
&gt; several parameters I find useful. For my pathfinder case, I am<br>
&gt; creating a binary file using &quot;fwrite&quot; to store four parameters. Each<br>
&gt; parameter varies in the horizontal plane, but not in the vertical<br>
&gt; (i.e. only one vertical level is computed). When I output a single<br>
&gt; timestep, I can open and retrieve the data file and the data display<br>
&gt; correctly. If I write each variable twice, once for each time step, I<br>
&gt; can retrieve the first time step, but not the second. At present I&#39;m<br>
&gt; feeding commands into the command-line interpreter rather than<br>
&gt; executing a script. I&#39;ve seen examples in the archives discussing<br>
&gt; varying the time dimension by way of a &quot;while&quot; loop. Since I&#39;m<br>
&gt; entering the commands individually the result /should/ be the same as<br>
&gt; if run from a script.<br>
&gt;<br>
&gt; I&#39;m not sure where I&#39;m making my mistake in the process, so any<br>
&gt; guidance would be appreciated.<br>
&gt;<br>
&gt; Input data is the North American Mesoscale (NAM) 40 km model. I am<br>
&gt; computing values for &quot;t 1&quot; and &quot;t 2&quot; during this trial period.  The<br>
&gt; variables utilized in the process are &quot;cpd&quot;, &quot;isenps&quot;, &quot;u&quot;, and &quot;v&quot;.<br>
&gt; Command sequence is first, followed by the .ctl file. I use a homemade<br>
&gt; script file, &quot;<a href="http://compute_cpd.gs" target="_blank">compute_cpd.gs</a>&quot;, to conduct the necessary calculations.<br>
&gt; This script accepts three arguments, Theta surface (in Kelvin), grid<br>
&gt; skip, and working file number. <a href="http://compute_cpd.gs" target="_blank">compute_cpd.gs</a> returns cpd, isenps, u,<br>
&gt; and v. In this case, &quot;z&quot; in NAM-2011072200.dat represents the &quot;theta&quot;<br>
&gt; level for the isentropic surface.<br>
&gt;<br>
&gt; --- Command Listing ---<br>
&gt; open NAM-2011072200.ctl<br>
&gt; set t 1<br>
&gt; run <a href="http://compute_cpd.gs" target="_blank">compute_cpd.gs</a> 315 1 1<br>
&gt;<br>
&gt; set fwrite ./cpd/NAM-2011072200.dat<br>
&gt; set gxout fwrite<br>
&gt;<br>
&gt; d cpd<br>
&gt; d isenps<br>
&gt; d u<br>
&gt; d v<br>
&gt;<br>
&gt; set t 2<br>
&gt; run <a href="http://compute_cpd.gs" target="_blank">compute_cpd.gs</a> 315 1 1<br>
&gt;<br>
&gt; d cpd<br>
&gt; d isenps<br>
&gt; d u<br>
&gt; d v<br>
&gt;<br>
&gt; disable fwrite<br>
&gt; reinit<br>
&gt;<br>
&gt; open ./cpd/NAM-2011072200.ctl<br>
&gt; set t 1<br>
&gt; run ./<a href="http://draw-cpd.gs" target="_blank">draw-cpd.gs</a><br>
&gt;<br>
&gt; clear graphics<br>
&gt; set t 2<br>
&gt; run ./<a href="http://draw-cpd.gs" target="_blank">draw-cpd.gs</a><br>
&gt;<br>
&gt; --- Error Output ---<br>
&gt; Low Level I/O Error:  Read error on data file<br>
&gt;   Data file name = ./cpd/NAM-2011072200.dat<br>
&gt;   Error reading 200 bytes at location 704000<br>
&gt; Data Request Error:  Error for variable &#39;cpd&#39;<br>
&gt;   Error ocurred at column 1<br>
&gt; DISPLAY error:  Invalid expression<br>
&gt;   Expression = cpd<br>
&gt; Cannot plot color bar: No shading information<br>
&gt; Low Level I/O Error:  Read error on data file<br>
&gt;   Data file name = ./cpd/NAM-2011072200.dat<br>
&gt;   Error reading 200 bytes at location 704000<br>
&gt; Data Request Error:  Error for variable &#39;cpd&#39;<br>
&gt;   Error ocurred at column 1<br>
&gt; DISPLAY error:  Invalid expression<br>
&gt;   Expression = cpd<br>
&gt; Low Level I/O Error:  Read error on data file<br>
&gt;   Data file name = ./cpd/NAM-2011072200.dat<br>
&gt;   Error reading 200 bytes at location 880000<br>
&gt; Data Request Error:  Error for variable &#39;isenps&#39;<br>
&gt;   Error ocurred at column 1<br>
&gt; DISPLAY error:  Invalid expression<br>
&gt;   Expression = isenps<br>
&gt; Low Level I/O Error:  Read error on data file<br>
&gt;   Data file name = ./cpd/NAM-2011072200.dat<br>
&gt;   Error reading 200 bytes at location 1056000<br>
&gt; Data Request Error:  Error for variable &#39;u&#39;<br>
&gt; Operation Error:  Error from skip function<br>
&gt;   Error ocurred at column 1<br>
&gt; DISPLAY error:  Invalid expression<br>
&gt;   Expression = skip(u,2)<br>
&gt;<br>
&gt; --- ./cpd/NAM-2011072200.ctl Contents ---<br>
&gt; dset /home/Agena/klhuyck/cpd/NAM-2011072200.dat<br>
&gt; title NAM 40km Condensation Pressure Deficit<br>
&gt; undef -999000000.000000<br>
&gt; options little_endian<br>
&gt; xdef 200 linear -145.0 0.5<br>
&gt; ydef 110 linear 12.0 0.5<br>
&gt; zdef 1 levels 315<br>
&gt; tdef 2 linear 00Z22Jul2011 3hr<br>
&gt; vars 4<br>
&gt; cpd                   2 99 Condensation Pressure Deficit (mb)<br>
&gt; isenps                2 99 Pressure (mb)<br>
&gt; u                     2 99 Zonal component of wind (ms^-1)<br>
&gt; v                     2 99 Meridional component of wind (ms^-1)<br>
&gt; endvars<br>
&gt;<br>
&gt; --<br>
&gt; Kevin L. Huyck<br>
&gt; Forecaster, Meridian Environmental Technology, Inc.<br>
&gt; <a href="mailto:klhuyck@meridian-enviro.com">klhuyck@meridian-enviro.com</a> &lt;mailto:<a href="mailto:klhuyck@meridian-enviro.com">klhuyck@meridian-enviro.com</a>&gt;<br>
&gt;<br>
&gt; Composed using Mozilla Thunderbird!<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110722/4de890bf/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110722/4de890bf/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 22 Jul 2011 10:07:44 -0700 (PDT)<br>
From: jagadish karmacharya &lt;<a href="mailto:j_karmacharya@yahoo.com">j_karmacharya@yahoo.com</a>&gt;<br>
Subject: [gradsusr] incorrect time steps<br>
To: &quot;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&quot; &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:1311354464.42717.YahooMailNeo@web31901.mail.mud.yahoo.com">1311354464.42717.YahooMailNeo@web31901.mail.mud.yahoo.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi,<br>
I have used CDO operators to create monthly netCDF file from daily data. The timestamp of the resulting file when viewed in CDO is:<br>
<br>
1989-01-31T00:00:00<br>
1989-02-28T00:00:00<br>
1989-03-31T00:00:00<br>
1989-04-30T00:00:00<br>
......<br>
.....<br>
<br>
But the timestep of the same file in grads is:<br>
<br>
1989-01-31:0<br>
1989:3:3:0<br>
<br>
1989:3:31:0<br>
1989:5:1:0<br>
....<br>
....<br>
<br>
This is different and I guess is causing problem in time series plot etc. How can I overcome the problem?<br>
<br>
I am using grads version 2.0.a7.oga.3 in Linux OS.<br>
<br>
Any advice will be highly appreciated.<br>
<br>
<br>
Jagadish<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110722/f7d0c5d5/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110722/f7d0c5d5/attachment.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
End of gradsusr Digest, Vol 17, Issue 24<br>
****************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>Muhammad Mubashar Ahmad Dogar<br>Scientific Officer (Climatology Section),<br>Global Change Impact Studies Centre (GCISC),<br>NCP complex, Quaid-e-Azam University Campus,<br>
Shahdra road, Islamabad, Pakistan.<br>Tel:  +92519230226<br>Mob:+923315144169<br>email: <a href="mailto:mubashardogar@yahoo.com">mubashardogar@yahoo.com</a><br>          <a href="mailto:mubashar.ahmad@gcisc.org.pk">mubashar.ahmad@gcisc.org.pk</a><br>

</div>