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

Bob Kuligowski - NOAA Federal bob.kuligowski at noaa.gov
Thu Feb 9 17:19:39 EST 2017


Stephen,

     That worked; thanks a lot!

Cheers,
Bob
> 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 <mailto: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 <mailto: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 <tel:%28301%29%20683-3593>
>         Fax  : (301) 683-3616 <tel:%28301%29%20683-3616>
>
>         http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php
>         <http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php>
>         http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php
>         <http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php>
>
>         _______________________________________________
>         gradsusr mailing list
>         gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>         http://gradsusr.org/mailman/listinfo/gradsusr
>         <http://gradsusr.org/mailman/listinfo/gradsusr>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr


-- 
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

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


More information about the gradsusr mailing list