<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span></span></div><div>Hi Saddam,</div><div><br></div><div>Your output appears to be on a rotated pole grid, which you have to account for in your control file. Here is some relevant documentation:</div><div><a href="http://cola.gmu.edu/grads/gadoc/map.html">http://cola.gmu.edu/grads/gadoc/map.html</a></div><div><a href="http://w.gradsusr.org/grads/gadoc/pdef.html">http://w.gradsusr.org/grads/gadoc/pdef.html</a></div><div><br></div><div>Perhaps these posts could be helpful:</div><div><a href="http://gradsusr.org/pipermail/gradsusr/2010-October/028486.html">http://gradsusr.org/pipermail/gradsusr/2010-October/028486.html</a></div><div><a href="http://gradsusr.org/pipermail/gradsusr/2011-February/029469.html">http://gradsusr.org/pipermail/gradsusr/2011-February/029469.html</a></div><div><br></div><div>-Andrew</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><blockquote type="cite">On May 30, 2018, at 12:13 AM, Saddam M. <<a href="mailto:e.sadam91@gmail.com">e.sadam91@gmail.com</a>> wrote:<br><br>Dear Andrew and Kyozo<br><br>Thank you very much for your suggestions. <br>@Andrew sorry for the file not been open. It would have great if i sent the ncdump -h output initially. I attached here separately the full out put from ncdump -h.<br>I actually went through some of the discussion and try to create the control file but failed to run and open using the sdfopen or xdfopen command.   <br>@Kyozo yes that could be an option but you know my interest to have a data series with 365 day. Because i have a number of netcdf file with a mixed time step of 365 and 366. <br>And i want to have them in 365 day. I did that in CDO already as one of the example is the one that i converted from 366 to 365.<br><br>As i am new to the tool, my interest so far is to open the netcdf and then continue plotting the graph. <br>As information if necessary, am using the GrADS 2.0.7a in window OS.<br><br>Thank you once again.<br><br><br><br>On Tue, May 29, 2018 at 6:00 PM, <<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>> wrote:<br>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">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>or, via email, send a message with subject or body 'help' 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 "Re: Contents of gradsusr digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Descriptor file creation for 365 day calander<br>      (Andrew Friedman)<br>   2. Re: Descriptor file creation for 365 day calander<br>      (Andrew Friedman)<br>   3. Re: Descriptor file creation for 365 day calander (Kyozo Ueyoshi)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 28 May 2018 18:45:44 +0200<br>From: Andrew Friedman <<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>><br>To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Subject: Re: [gradsusr] Descriptor file creation for 365 day calander<br>Message-ID: <<a href="mailto:3D46A3B0-CA89-4CB6-A8F0-08CBA4C7B236@gmail.com">3D46A3B0-CA89-4CB6-A8F0-08CBA4C7B236@gmail.com</a>><br>Content-Type: text/plain; charset=utf-8<br><br>Hi Saddam,<br><br>These posts discuss how to open 365-day calendar files: <a href="http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html">http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html</a> <br><br>-Andrew<br><br>> On May 27, 2018, at 5:56 PM, Saddam M. <<a href="mailto:e.sadam91@gmail.com">e.sadam91@gmail.com</a>> wrote:<br>> <br>> Hello everyone<br>> <br>> I have been trying to plot a map from the netcdf file with a 365 days time step in a year using GrADS 2.0.a7 version. However, it showing me an error that 365 day calander is no longer supported and i have to add a descriptor file.  the error messages are as below;<br>> <br>> gaopnc error:<br>> read_metadata: gaopnc failed<br>> gadsdf: Couldn't ingest SDF metadata.<br>> <br>> <br>> SDF Error: 365 day calendars are no longer supported by sdfopen.<br>>   To open this file with GrADS, use a descriptor file with<br>>   a complete TDEF entry and OPTIONS 365_day_calendar.<br>>   Documentation is at <a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a><br>> <br>> <br>> <br>> I was trying to write the the control file using the template that i got from one colleague, but it was different data type from what i have and since I am new user to this software, I could not fix the problem easily.<br>> <br>> I would be very glad if anyone can help me in the control file creation for the two sample data I attached here? <br>> <br>> Just as information about the attached data, <br>> - The file with name "precipitation_365_day.nc" is the original nc file with 365 day, in which i did not change anything and as i obtained from the source.<br>> - In the second file with name "precipitation_adjusted_365_day_19560101-19651231.nc", it is a merged file from two nc file with different time step with 366 days. Then i have adjusted the day to be 365 since that was my interest for the time series to be. <br>> <br>> Thank you very much for your help in advance.<br>> <br>> ?<br>>  GrADS_example_netcdf_ploting.rar<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">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 28 May 2018 21:34:55 +0200<br>From: Andrew Friedman <<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>><br>To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Subject: Re: [gradsusr] Descriptor file creation for 365 day calander<br>Message-ID: <<a href="mailto:594DD79A-B347-471D-906C-AA714487122E@gmail.com">594DD79A-B347-471D-906C-AA714487122E@gmail.com</a>><br>Content-Type: text/plain; charset=utf-8<br><br>Also, perhaps you could post the ncdump -h output from your files?<br>I am unable to open the rar file.<br><br>-Andrew<br><br>> On May 28, 2018, at 6:45 PM, Andrew Friedman <<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br>> <br>> Hi Saddam,<br>> <br>> These posts discuss how to open 365-day calendar files: <a href="http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html">http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html</a> <br>> <br>> -Andrew<br>> <br>>> On May 27, 2018, at 5:56 PM, Saddam M. <<a href="mailto:e.sadam91@gmail.com">e.sadam91@gmail.com</a>> wrote:<br>>> <br>>> Hello everyone<br>>> <br>>> I have been trying to plot a map from the netcdf file with a 365 days time step in a year using GrADS 2.0.a7 version. However, it showing me an error that 365 day calander is no longer supported and i have to add a descriptor file.  the error messages are as below;<br>>> <br>>> gaopnc error:<br>>> read_metadata: gaopnc failed<br>>> gadsdf: Couldn't ingest SDF metadata.<br>>> <br>>> <br>>> SDF Error: 365 day calendars are no longer supported by sdfopen.<br>>>  To open this file with GrADS, use a descriptor file with<br>>>  a complete TDEF entry and OPTIONS 365_day_calendar.<br>>>  Documentation is at <a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a><br>>> <br>>> <br>>> <br>>> I was trying to write the the control file using the template that i got from one colleague, but it was different data type from what i have and since I am new user to this software, I could not fix the problem easily.<br>>> <br>>> I would be very glad if anyone can help me in the control file creation for the two sample data I attached here? <br>>> <br>>> Just as information about the attached data, <br>>> - The file with name "precipitation_365_day.nc" is the original nc file with 365 day, in which i did not change anything and as i obtained from the source.<br>>> - In the second file with name "precipitation_adjusted_365_day_19560101-19651231.nc", it is a merged file from two nc file with different time step with 366 days. Then i have adjusted the day to be 365 since that was my interest for the time series to be. <br>>> <br>>> Thank you very much for your help in advance.<br>>> <br>>> ?<br>>> GrADS_example_netcdf_ploting.rar<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">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>> <br><br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 28 May 2018 13:34:59 -0700<br>From: Kyozo Ueyoshi <<a href="mailto:kueyoshi@gmail.com">kueyoshi@gmail.com</a>><br>To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Subject: Re: [gradsusr] Descriptor file creation for 365 day calander<br>Message-ID:<br>        <<a href="mailto:CAGqWhQm+HHyXaQamEdcOrP8ww9bJSw=rdfQ1EBw-Bz6VD5VmeQ@mail.gmail.com">CAGqWhQm+HHyXaQamEdcOrP8ww9bJSw=rdfQ1EBw-Bz6VD5VmeQ@mail.gmail.com</a>><br>Content-Type: text/plain; charset="UTF-8"<br><br>If you have CDO installed, you can do with netcdf file<br>cdo setcalendar,standard infile.nc outfile.nc<br>Cheers,<br>UK<br><br>On Mon, May 28, 2018 at 12:34 PM, Andrew Friedman <<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br>> Also, perhaps you could post the ncdump -h output from your files?<br>> I am unable to open the rar file.<br>><br>> -Andrew<br>><br>>> On May 28, 2018, at 6:45 PM, Andrew Friedman <<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br>>><br>>> Hi Saddam,<br>>><br>>> These posts discuss how to open 365-day calendar files: <a href="http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html">http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html</a><br>>><br>>> -Andrew<br>>><br>>>> On May 27, 2018, at 5:56 PM, Saddam M. <<a href="mailto:e.sadam91@gmail.com">e.sadam91@gmail.com</a>> wrote:<br>>>><br>>>> Hello everyone<br>>>><br>>>> I have been trying to plot a map from the netcdf file with a 365 days time step in a year using GrADS 2.0.a7 version. However, it showing me an error that 365 day calander is no longer supported and i have to add a descriptor file.  the error messages are as below;<br>>>><br>>>> gaopnc error:<br>>>> read_metadata: gaopnc failed<br>>>> gadsdf: Couldn't ingest SDF metadata.<br>>>><br>>>><br>>>> SDF Error: 365 day calendars are no longer supported by sdfopen.<br>>>>  To open this file with GrADS, use a descriptor file with<br>>>>  a complete TDEF entry and OPTIONS 365_day_calendar.<br>>>>  Documentation is at <a href="http://iges.org/grads/gadoc/SDFdescriptorfile.html">http://iges.org/grads/gadoc/SDFdescriptorfile.html</a><br>>>><br>>>><br>>>><br>>>> I was trying to write the the control file using the template that i got from one colleague, but it was different data type from what i have and since I am new user to this software, I could not fix the problem easily.<br>>>><br>>>> I would be very glad if anyone can help me in the control file creation for the two sample data I attached here?<br>>>><br>>>> Just as information about the attached data,<br>>>> - The file with name "precipitation_365_day.nc" is the original nc file with 365 day, in which i did not change anything and as i obtained from the source.<br>>>> - In the second file with name "precipitation_adjusted_365_day_19560101-19651231.nc", it is a merged file from two nc file with different time step with 366 days. Then i have adjusted the day to be 365 since that was my interest for the time series to be.<br>>>><br>>>> Thank you very much for your help in advance.<br>>>><br>>>><br>>>> GrADS_example_netcdf_ploting.rar<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">http://gradsusr.org/mailman/listinfo/gradsusr</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">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br><br>-- <br>Kyozo Ueyoshi<br><br> e-mail: <a href="mailto:kueyoshi@gmail.com">kueyoshi@gmail.com</a><br><br><br><br>------------------------------<br><br>Subject: Digest Footer<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">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br>------------------------------<br><br>End of gradsusr Digest, Vol 99, Issue 23<br>****************************************<br><br><span class="AppleTemporaryEditingElement" id="cid:A2C56C9F-C200-4A4A-9F5A-A20D16735532@lan"><ncdump -h_output_precipitation_365_day.docx></span><span class="AppleTemporaryEditingElement" id="cid:58B75C07-2AF7-47E6-97BD-E158FB6EEFF3@lan"><ncdump -h_output_precipitation_adjusted_365_day_19560101-19651231.docx></span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote><br></div></div></div></div></div></body></html>