[gradsusr] grib
Sridhara Nayak
sridharanayakiitkgp at gmail.com
Tue Dec 24 11:26:47 EST 2013
Hi,
Plz try with that I have suggested. you just write .grib in place of .grb
Regards
Sridhara
On Tue, Dec 24, 2013 at 9:08 PM, fereshteh komijani <
fereshtehkomijani at gmail.com> wrote:
> dear Sridhara
> thanks. i saw following command in some site:
> Command : cdo -f nc copy file.grb file.nc
> but my file in *.grib *but in mention command tehre is *.grd*
> and alsoany useful command that i searchare for .grd not .grib
> therefore after trying following command i cant get .nc file
>
> 1-[fkomijani at localhost Downloads]$ cdo -f nc copy aa.grib file.nc
> Warning (cgribexScanTimestep) : Param=182.128 level=0 not available at
> timestep 1338!
> cdo copy: Processed 2262204 values from 1 variable over 1337 timesteps (
> 0.05s )
> 2-[fkomijani at localhost Downloads]$ cdo -f nc copy aa.grb file.nc
> cdo copy: Open failed on >aa.grb<
> No such file or directory
>
>
> please if i am in wrong tell me.
> thanks
> fereshte
>
>
> On Tue, Dec 24, 2013 at 6:35 PM, Sridhara Nayak <
> sridharanayakiitkgp at gmail.com> wrote:
>
>> Hi,
>> First, you will have to create a CONTROL file to read your GRIB data.
>> e.g. my GRIB data file is named as ifile.grb
>> So I am creating a ifile.ctl which looks as
>> DSET^ifile.grb
>> OPTIONS sequential
>> UNDEF -9.99e+36
>> XDEF 360 LINEAR -179.5 1
>> YDEF 180 LINEAR -89.5 1
>> ZDEF 1 LINEAR 1 1
>> TDEF 1 LINEAR 00:00Z15jun1990 1mo
>> VARS 1
>> ps 1 99 description of the variable
>> ENDVARS
>>
>> or you can prepare CONTROL file with the following command provided
>> grib2ctl.pl and wgrib is installed in your Linux /UNIX machine
>>
>> grib2ctl.pl ifile.grb > ifile.ctl
>>
>>
>> Finally use CDO
>> cdo -f nc import_binary ifile.ctl ofile.nc
>>
>> Hope it will help you.
>>
>> Kind Regards
>> Sridhara
>>
>>
>> On Tue, Dec 24, 2013 at 7:37 PM, fereshteh komijani <
>> fereshtehkomijani at gmail.com> wrote:
>>
>>> dear friends
>>> i have Grib file (a.grib) that what to convert it to netcdf files .
>>> would you please tell me which command in CDO can do it.
>>> many thanks in advance
>>> fereshte
>>>
>>> --
>>> ***Angel***
>>>
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Sridhara Nayak, PhD Student;
>> Centre for Oceans, Rivers, Atmosphere and Land Sciences;
>> Indian Institute of Technology Kharagpur; Kharagpur; West Bengal; India.
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> ***Angel***
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Sridhara Nayak, PhD Student;
Centre for Oceans, Rivers, Atmosphere and Land Sciences;
Indian Institute of Technology Kharagpur; Kharagpur; West Bengal; India.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131224/65bfbf1a/attachment.html
More information about the gradsusr
mailing list