[gradsusr] gradsusr Digest, Vol 99, Issue 23

Saddam M. e.sadam91 at gmail.com
Tue May 29 18:13:08 EDT 2018


Dear Andrew and Kyozo

Thank you very much for your suggestions.
@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.
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.
@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.
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.

As i am new to the tool, my interest so far is to open the netcdf and then
continue plotting the graph.
As information if necessary, am using the GrADS 2.0.7a in window OS.

Thank you once again.



On Tue, May 29, 2018 at 6:00 PM, <gradsusr-request at gradsusr.org> wrote:

> Send gradsusr mailing list submissions to
>         gradsusr at gradsusr.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://gradsusr.org/mailman/listinfo/gradsusr
> or, via email, send a message with subject or body 'help' to
>         gradsusr-request at gradsusr.org
>
> You can reach the person managing the list at
>         gradsusr-owner at gradsusr.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gradsusr digest..."
>
>
> Today's Topics:
>
>    1. Re: Descriptor file creation for 365 day calander
>       (Andrew Friedman)
>    2. Re: Descriptor file creation for 365 day calander
>       (Andrew Friedman)
>    3. Re: Descriptor file creation for 365 day calander (Kyozo Ueyoshi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 28 May 2018 18:45:44 +0200
> From: Andrew Friedman <andfried at gmail.com>
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Subject: Re: [gradsusr] Descriptor file creation for 365 day calander
> Message-ID: <3D46A3B0-CA89-4CB6-A8F0-08CBA4C7B236 at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> Hi Saddam,
>
> These posts discuss how to open 365-day calendar files:
> http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html
>
> -Andrew
>
> > On May 27, 2018, at 5:56 PM, Saddam M. <e.sadam91 at gmail.com> wrote:
> >
> > Hello everyone
> >
> > 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;
> >
> > gaopnc error:
> > read_metadata: gaopnc failed
> > gadsdf: Couldn't ingest SDF metadata.
> >
> >
> > SDF Error: 365 day calendars are no longer supported by sdfopen.
> >   To open this file with GrADS, use a descriptor file with
> >   a complete TDEF entry and OPTIONS 365_day_calendar.
> >   Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html
> >
> >
> >
> > 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.
> >
> > I would be very glad if anyone can help me in the control file creation
> for the two sample data I attached here?
> >
> > Just as information about the attached data,
> > - 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.
> > - 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.
> >
> > Thank you very much for your help in advance.
> >
> > ?
> >  GrADS_example_netcdf_ploting.rar
> > ???
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 28 May 2018 21:34:55 +0200
> From: Andrew Friedman <andfried at gmail.com>
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Subject: Re: [gradsusr] Descriptor file creation for 365 day calander
> Message-ID: <594DD79A-B347-471D-906C-AA714487122E at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> Also, perhaps you could post the ncdump -h output from your files?
> I am unable to open the rar file.
>
> -Andrew
>
> > On May 28, 2018, at 6:45 PM, Andrew Friedman <andfried at gmail.com> wrote:
> >
> > Hi Saddam,
> >
> > These posts discuss how to open 365-day calendar files:
> http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html
> >
> > -Andrew
> >
> >> On May 27, 2018, at 5:56 PM, Saddam M. <e.sadam91 at gmail.com> wrote:
> >>
> >> Hello everyone
> >>
> >> 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;
> >>
> >> gaopnc error:
> >> read_metadata: gaopnc failed
> >> gadsdf: Couldn't ingest SDF metadata.
> >>
> >>
> >> SDF Error: 365 day calendars are no longer supported by sdfopen.
> >>  To open this file with GrADS, use a descriptor file with
> >>  a complete TDEF entry and OPTIONS 365_day_calendar.
> >>  Documentation is at http://iges.org/grads/gadoc/SDFdescriptorfile.html
> >>
> >>
> >>
> >> 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.
> >>
> >> I would be very glad if anyone can help me in the control file creation
> for the two sample data I attached here?
> >>
> >> Just as information about the attached data,
> >> - 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.
> >> - 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.
> >>
> >> Thank you very much for your help in advance.
> >>
> >> ?
> >> GrADS_example_netcdf_ploting.rar
> >> ???
> >> _______________________________________________
> >> gradsusr mailing list
> >> gradsusr at gradsusr.org
> >> http://gradsusr.org/mailman/listinfo/gradsusr
> >
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 28 May 2018 13:34:59 -0700
> From: Kyozo Ueyoshi <kueyoshi at gmail.com>
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Subject: Re: [gradsusr] Descriptor file creation for 365 day calander
> Message-ID:
>         <CAGqWhQm+HHyXaQamEdcOrP8ww9bJSw=rdfQ1EB
> w-Bz6VD5VmeQ at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> If you have CDO installed, you can do with netcdf file
> cdo setcalendar,standard infile.nc outfile.nc
> Cheers,
> UK
>
> On Mon, May 28, 2018 at 12:34 PM, Andrew Friedman <andfried at gmail.com>
> wrote:
> > Also, perhaps you could post the ncdump -h output from your files?
> > I am unable to open the rar file.
> >
> > -Andrew
> >
> >> On May 28, 2018, at 6:45 PM, Andrew Friedman <andfried at gmail.com>
> wrote:
> >>
> >> Hi Saddam,
> >>
> >> These posts discuss how to open 365-day calendar files:
> http://gradsusr.org/pipermail/gradsusr/2011-June/030235.html
> >>
> >> -Andrew
> >>
> >>> On May 27, 2018, at 5:56 PM, Saddam M. <e.sadam91 at gmail.com> wrote:
> >>>
> >>> Hello everyone
> >>>
> >>> 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;
> >>>
> >>> gaopnc error:
> >>> read_metadata: gaopnc failed
> >>> gadsdf: Couldn't ingest SDF metadata.
> >>>
> >>>
> >>> SDF Error: 365 day calendars are no longer supported by sdfopen.
> >>>  To open this file with GrADS, use a descriptor file with
> >>>  a complete TDEF entry and OPTIONS 365_day_calendar.
> >>>  Documentation is at http://iges.org/grads/gadoc/
> SDFdescriptorfile.html
> >>>
> >>>
> >>>
> >>> 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.
> >>>
> >>> I would be very glad if anyone can help me in the control file
> creation for the two sample data I attached here?
> >>>
> >>> Just as information about the attached data,
> >>> - 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.
> >>> - 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.
> >>>
> >>> Thank you very much for your help in advance.
> >>>
> >>>
> >>> GrADS_example_netcdf_ploting.rar
> >>>
> >>> _______________________________________________
> >>> gradsusr mailing list
> >>> gradsusr at gradsusr.org
> >>> http://gradsusr.org/mailman/listinfo/gradsusr
> >>
> >
> >
> > _______________________________________________
> > gradsusr mailing list
> > gradsusr at gradsusr.org
> > http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
> --
> Kyozo Ueyoshi
>
>  e-mail: kueyoshi at gmail.com
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> ------------------------------
>
> End of gradsusr Digest, Vol 99, Issue 23
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180530/1a53c80b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncdump -h_output_precipitation_365_day.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 13014 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180530/1a53c80b/attachment-0002.docx>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncdump -h_output_precipitation_adjusted_365_day_19560101-19651231.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 13070 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180530/1a53c80b/attachment-0003.docx>


More information about the gradsusr mailing list