[gradsusr] Error with mfhilo function

Jeff Duda jeffduda319 at gmail.com
Tue Feb 28 16:32:20 EST 2017


you need to point to the actual script location, especially if it's not in
the directory you are working in when you invoke Grads. so...
'run full/path/to/script/mfhilo args...'

or you can set the environmental variable GASCRP to wherever your script is
located to not have to type in the full path to th escript code. Of course,
any scripts that are not in that location will still require you to type
the full path for them to work.

Jeff Duda

On Tue, Feb 28, 2017 at 3:20 PM, Charlie Phillips <charliep127 at hotmail.com>
wrote:

> Hi Jeff,
>
>
> I was using some syntax I found in this tutorial here:
> http://gradsaddict.blogspot.com/2013/05/tutorial-draw-sea-
> level-pressure-map.html
>
>
>
> When I add the "run," I simply get "Error opening script file: mfhilo". I
> also get that when I add a "run" in front of the syntax on Mike's page
> describing this function: http://stream.princeton.edu/AWCM/LIBRARIES/
> grads-2.0.1.oga.1/Contents/Resources/Documentation/
> opengrads/doc/udxt/libmf/
>
>
>
>
> <http://stream.princeton.edu/AWCM/LIBRARIES/grads-2.0.1.oga.1/Contents/Resources/Documentation/opengrads/doc/udxt/libmf/>
>
> Thank you very much!
>
> Charlie
>
>
>
> ------------------------------
> *From:* Charlie Phillips <charliep127 at hotmail.com>
> *Sent:* Tuesday, February 28, 2017 7:34:17 AM
> *To:* gradsusr at gradsusr.org
> *Subject:* Error with mfhilo function
>
>
> Hi all,
>
>
> I'm having trouble using Mike Fiorino's mfhilo function. I'm creating a
> chart showing 500 mb vorticity and heights and would like to plot the
> maximum and minimum heights.
>
>
> When I call mfhilo, I get the error:
>
> "libquadmath.so.0: cannot open shared object file: No such file or
> directory"
> "Unknown command: mfhilo"
>
> An example of the code I am using is:
>
>
> ''sdfopen http://nomads.ncep.noaa.gov:9090/dods/gfs_0p25/
> gfs20170224/gfs_0p25_12z'
>
> 'set lev 500'
>
> 'mfhilo absvprs/100 CL I 1000, 300'
>
> 'say result'
>
> The full code is here: https://github.com/WeatherTogether/model-charts/
> blob/master/500mbvort.gs
>
>
> I am using OpenGrads 2.1.0.oga.1 on Linux Mint.
>
>
> I apologize if I am missing something simple; I am very new to Grads and
> programming in general!
>
>
> Thanks for your help,
> Charlie Phillips
>
> weathertogether.us
>
>
> model-charts/500mbvort.gs at master · WeatherTogether/model-charts · GitHub
> <https://github.com/WeatherTogether/model-charts/blob/master/500mbvort.gs>
> github.com
> model-charts - Charts created with GrADS and model data.
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Post-doctoral research fellow
University of Oklahoma School of Meteorology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170228/d1a86e1f/attachment-0001.html 


More information about the gradsusr mailing list