[gradsusr] gradsusr Digest, Vol 68, Issue 17

James T. Potemra jimp at hawaii.edu
Mon Oct 19 16:07:37 EDT 2015


I'm not sure what you mean by "my file is .grd", presumably this is a 
GrADS binary file?  I believe the cdo command takes the GrADS descriptor 
file as input, not the binary file.

Jim


On 10/18/15 6:07 PM, Dhirendra Kumar wrote:
> Thanks for the reply,
>
> I tried the above command, but my file is .grd instead.
> so it gives the error-
>
> cdo -f nc copy rf0.5_1979.grd rf0.5_1979.grd.nc <http://rf0.5_1979.grd.nc>
> cdo copy: Open failed on >rf0.5_1979.grd<
> Unsupported file type
>
> Please see if some options for .grd file is there.
>
> sincerely
>
> On Sun, Oct 18, 2015 at 9:30 PM, <gradsusr-request at gradsusr.org 
> <mailto:gradsusr-request at gradsusr.org>> wrote:
>
>     Send gradsusr mailing list submissions to
>     gradsusr at gradsusr.org <mailto: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 <mailto:gradsusr-request at gradsusr.org>
>
>     You can reach the person managing the list at
>     gradsusr-owner at gradsusr.org <mailto: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. convert .grd file to .nc (Dhirendra Kumar)
>        2. Re: convert .grd file to .nc (Kishore Ragi)
>
>
>     ----------------------------------------------------------------------
>
>     Message: 1
>     Date: Sun, 18 Oct 2015 12:12:43 +0530
>     From: Dhirendra Kumar <dhirendra.cub at gmail.com
>     <mailto:dhirendra.cub at gmail.com>>
>     Subject: [gradsusr] convert .grd file to .nc
>     To: gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>     Message-ID:
>            
>     <CANSz=01nRQbwuCU+08gO58G6N0U6VE=upjuZkKwnrbFUyCcDrQ at mail.gmail.com <mailto:upjuZkKwnrbFUyCcDrQ at mail.gmail.com>>
>     Content-Type: text/plain; charset="utf-8"
>
>     Dear All
>
>     I wish to convert .grd file to netcdf file, I have read somewhere
>     that I
>     must have a .ctl file associated with the .grd file in order to
>     convert.
>     But unfortunately I don't have them, please suggest me the appropriate
>     method to perform the same conversion.
>
>     Thanks in Anticipation
>
>     Dhirendra
>
>     --
>     ========================================
>     Dhirendra Kumar
>     School of Environmental Sciences, JNU
>     New Delhi (India)
>     Contact: +91 9910778043
>     Alternate email: dhirendra.cub at outlook.com
>     <mailto:dhirendra.cub at outlook.com>
>     =========================================
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://gradsusr.org/pipermail/gradsusr/attachments/20151018/25f79246/attachment-0001.html
>
>     ------------------------------
>
>     Message: 2
>     Date: Sun, 18 Oct 2015 14:01:43 +0530
>     From: Kishore Ragi <kishoreragi at gmail.com
>     <mailto:kishoreragi at gmail.com>>
>     Subject: Re: [gradsusr] convert .grd file to .nc
>     To: GrADS Users Forum <gradsusr at gradsusr.org
>     <mailto:gradsusr at gradsusr.org>>
>     Message-ID:
>            
>     <CAN4rXbQpiogyfsUYMsEsz_EJQ3SXTc7rzx510A2deJ=77ZpSoA at mail.gmail.com <mailto:77ZpSoA at mail.gmail.com>>
>     Content-Type: text/plain; charset="utf-8"
>
>     Hi Dhirendra,
>
>     It is quite easy with CDO. Follow the command to convert.
>
>     cdo -f nc copy input.grb input.nc <http://input.nc> <http://output.nc>
>
>     Hope this solve your purpose.
>
>     Cheers,
>
>
>
>     *Kishore Ragi,*
>
>     *PhD student in climate science,*
>
>     *National Institute of Technology, Rourkela,*
>
>     *India- 769008*
>
>
>
>
>
>
>     *Phone: +91-8908671881http://www.researchgate.net/profile/Kishore_Ragi
>     <http://www.researchgate.net/profile/Kishore_Ragi>https://in.linkedin.com/in/kishoreragi
>     <https://in.linkedin.com/in/kishoreragi>http://kishoreragi.webnode.com/
>     <http://kishoreragi.webnode.com/>*
>
>     On Sun, Oct 18, 2015 at 12:12 PM, Dhirendra Kumar
>     <dhirendra.cub at gmail.com <mailto:dhirendra.cub at gmail.com>>
>     wrote:
>
>     > Dear All
>     >
>     > I wish to convert .grd file to netcdf file, I have read
>     somewhere that I
>     > must have a .ctl file associated with the .grd file in order to
>     convert.
>     > But unfortunately I don't have them, please suggest me the
>     appropriate
>     > method to perform the same conversion.
>     >
>     > Thanks in Anticipation
>     >
>     > Dhirendra
>     >
>     > --
>     > ========================================
>     > Dhirendra Kumar
>     > School of Environmental Sciences, JNU
>     > New Delhi (India)
>     > Contact: +91 9910778043
>     > Alternate email: dhirendra.cub at outlook.com
>     <mailto:dhirendra.cub at outlook.com>
>     > =========================================
>     >
>     > _______________________________________________
>     > gradsusr mailing list
>     > gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>     > http://gradsusr.org/mailman/listinfo/gradsusr
>     >
>     >
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://gradsusr.org/pipermail/gradsusr/attachments/20151018/7feaf8e5/attachment-0001.html
>
>     ------------------------------
>
>     _______________________________________________
>     gradsusr mailing list
>     gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>     http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>     End of gradsusr Digest, Vol 68, Issue 17
>     ****************************************
>
>
>
>
> -- 
> ========================================
> Dhirendra Kumar
> UGC-JRF
> School of Environmental Sciences, JNU
> New Delhi (India)
> Contact: +91 9910778043
> Alternate email: dhirendra.cub at outlook.com 
> <mailto:dhirendra.cub at outlook.com>
> =========================================
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151019/c3b5ef01/attachment-0001.html 


More information about the gradsusr mailing list