[gradsusr] how to reveres latitudes in nc file

Charles Seman - NOAA Federal charles.seman at noaa.gov
Tue Mar 26 14:09:59 EDT 2013


Kishore,

Have you tried the "yrev" option? 
http://grads.iges.org/grads/gadoc/descriptorfile.html#OPTIONS

You would make a GrADS data descriptor file to open the .nc file, and 
include in the data descriptor file the line:
options yrev

Hope this helps,
Chuck

On 03/26/2013 01:40 AM, Kishore Babu wrote:
> Dear grads users,
>
> My nc file has latitudes as below
>
> latitude = -90, -87.5, -85, -82.5, -80, -77.5, -75, -72.5, -70, -67.5, -65,
>      -62.5, -60, -57.5, -55, -52.5, -50, -47.5, -45, -42.5, -40, -37.5,
> -35,
>      -32.5, -30, -27.5, -25, -22.5, -20, -17.5, -15, -12.5, -10, -7.5, -5,
>      -2.5, 0, 2.5, 5, 7.5, 10, 12.5, 15, 17.5, 20, 22.5, 25, 27.5, 30,
> 32.5,
>      35, 37.5, 40, 42.5, 45, 47.5, 50, 52.5, 55, 57.5, 60, 62.5, 65,
> 67.5, 70,
>      72.5, 75, 77.5, 80, 82.5, 85, 87.5, 90 ;
>
> But, I need to have latitudes in reveres such as below...
>
> latitude = 90, 87.5, 85, 82.5, 80, 77.5, 75, 72.5, 70, 67.5, 65, 62.5, 60,
>      57.5, 55, 52.5, 50, 47.5, 45, 42.5, 40, 37.5, 35, 32.5, 30, 27.5, 25,
>      22.5, 20, 17.5, 15, 12.5, 10, 7.5, 5, 2.5, 0, -2.5, -5, -7.5, -10,
> -12.5,
>      -15, -17.5, -20, -22.5, -25, -27.5, -30, -32.5, -35, -37.5, -40,
> -42.5,
>      -45, -47.5, -50, -52.5, -55, -57.5, -60, -62.5, -65, -67.5, -70,
> -72.5,
>      -75, -77.5, -80, -82.5, -85, -87.5, -90 ;
>
> Could you please anybody let me know how it is changed?
>
> Thank you in advance..
>
> Regards,
>
> Kishore
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>

-- 

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
  Charles Seman                                Charles.Seman at noaa.gov
  U.S. Department of Commerce / NOAA / OAR
  Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
  201 Forrestal Road                              fax: (609) 987-5063
  Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect any
official or unofficial position of the United States Federal Government,
the United States Department of Commerce, or NOAA."



More information about the gradsusr mailing list