[gradsusr] Is there a way to reverse the orientation of an image from the command line or within a script?

Stephen McMillan smcmillan at planalytics.com
Thu Feb 9 17:00:54 EST 2017


Bob,

I meant to add that you may also need to use 'set xflip on|off' along with
yflip to get what you want.

Stephen Mc

On Thu, Feb 9, 2017 at 4:51 PM, Stephen McMillan <smcmillan at planalytics.com>
wrote:

> Hi Bob,
>
> Have you tried 'set yflip on|off'?  It's not the same result as rotating
> an image, but rather reverses the order of the vertical axis.  As such, the
> map also reverses (as in flipping a page over).
>
> Stephen Mc
>
> On Thu, Feb 9, 2017 at 4:33 PM, Bob Kuligowski - NOAA Federal <
> bob.kuligowski at noaa.gov> wrote:
>
>> All,
>>
>>      I'm using sdfopen (and thus no control file) to display a netCDF
>> file in GrADS but the file contents are oriented north-to-south rather
>> than south-to-north so GrADS is plotting it upside down. Without having
>> a control file with 'options yrev' in it, is there any other way to flip
>> the field over in a script or from the command line?   Thanks!
>>
>> Cheers,
>>
>> --
>> Bob Kuligowski, Ph.D.
>> Meteorologist
>> NOAA/NESDIS/Center for Satellite Applications and Research (STAR)
>>
>> Mailing Address:
>> National Oceanic and Atmospheric Administration
>> NESDIS STAR/SMCD
>> Bob Kuligowski
>> NCWCP E/RA2
>> 5830 University Research Court
>> 2nd Floor, Office #2828
>> College Park, MD 20740-3818
>>
>> Phone:  (301) 683-3593
>> Fax  :  (301) 683-3616
>>
>> http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php
>> http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php
>>
>> _______________________________________________
>> 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/20170209/f07e11a8/attachment.html 


More information about the gradsusr mailing list