[gradsusr] how to convert curvilinear grid format to regular grid format
Kishore Ragi
kishoreragi at gmail.com
Thu Feb 6 00:37:08 EST 2014
Dear Anubhav,
Hope the following two CDO commands will work for you.
cdo -f nc -sellonlatbox,X1,X2,Y1,Y2 -random,raxb template.nc ( here your
desired template is created)
cdo -remapcon,template.nc your_file.nc disired_file.nc (Hope you see your
desired gridded nc file is created)
Where X1, X2 are longitudes, Y1,Y2 are latitudes, a is number of points in
the longitude you selected, b is is number of points in the latitude you
selected.
Cheers,
Kishore
On Thu, Feb 6, 2014 at 9:56 AM, 진종훈 <jinjonghun at gmail.com> wrote:
> Dear Anubhav,
>
> I have no script with this case.
> But, CDO can be used to convert the NC grid. (
> https://code.zmaw.de/projects/cdo )
> If NC file contains correct information of projection, just type a command
> line.
>
> cdo remap,r{NX}x{NY} {INPUT_FILE} {OUTPUT_FILE}
>
> If it needed, you can set the type of NC grid to curvilinear with
> "setgrid" operator for correction of projection.
> Please refer to manual of COD for more details.
>
> Jonghun
>
>
>
> 2014-02-06 ANUBHAV CHOUDHARY <anubha64_ses at jnu.ac.in>:
>
> Dear Davide,
>> A curvilinear grid is a grid just like a regular grid, but in which the
>> cells are quadrilaterals or cuboids <http://en.wikipedia.org/wiki/Cuboid>
>> rather than rectangles or rectangular parallelopipeds (like in regular
>> grid- cells are parallelopiped). you can see this image of a curvilinear
>> grid-
>>
>> a curvilinear grid.
>>
>>
>> On Wed, Feb 5, 2014 at 5:13 PM, Davide Sacchetti <
>> davide.sacchetti at arpal.gov.it> wrote:
>>
>>> what do you mean with curvilinear grid?
>>> which kind of projection is it?
>>>
>>> Davide
>>>
>>>
>>> On Wed, 2014-02-05 at 16:02 +0530, ANUBHAV CHOUDHARY wrote:
>>> > Dear GrADS user,
>>> > I have a precipitation data file (NetCDF) which when I visualize using
>>> > GrADS gets plotted in wrong domain because it is in curvilinear grid
>>> > format. Can anybody tell me how to convert it into regular grid
>>> > format. Does anybody has the script of it.
>>> > Thanks in advance
>>> > Regards,
>>> > Anubhav
>>> >
>>> >
>>> >
>>> > --
>>> > Anubhav Choudhary
>>> > M.Phil./Ph.D. Student
>>> > School of Environmental Sciences
>>> > Jawaharlal Nehru University
>>> > New Delhi - 110067
>>> > Cell No. +91-8527706122
>>> > Alternate e-mail IDs:
>>> > yoursanubhav at gmail.com
>>> > anubhav at cub.ac.in
>>> > _______________________________________________
>>> > gradsusr mailing list
>>> > gradsusr at gradsusr.org
>>> > http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>> --
>>> Davide Sacchetti
>>> Centro Funzionale Meteo Idrologico di Protezione Civile della Regione
>>> Liguria
>>> ARPAL Unità Tecnica Complessa di livello Regionale
>>> V.le Brigare Partigiane 2 16121 Genova (I)
>>> tel: +39 010 6437535 fax: +39 010 6437520
>>> mail: davide.sacchetti at arpal.gov.it web: www.meteoliguria.it
>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>
>>
>>
>> --
>> Anubhav Choudhary
>> M.Phil./Ph.D. Student (UGC-Junior Research Fellow)
>>
>> School of Environmental Sciences
>> Jawaharlal Nehru University
>> New Delhi - 110067
>> Cell No. +91-8527706122
>> Alternate e-mail IDs:
>> yoursanubhav at gmail.com
>> anubhav at cub.ac.in
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140206/f8215906/attachment-0001.html
More information about the gradsusr
mailing list