[gradsusr] Is there a way to run GrADS with the -m argument in batch mode?

Bob Kuligowski - NOAA Federal bob.kuligowski at noaa.gov
Mon May 16 15:25:57 EDT 2016


Mark and Jennifer,

     Thanks for clarifying; I was thinking that all of the arguments had 
to be together after the - sign and that was obviously incorrect.  It 
works now; thanks!

     And I'll definitely be all over version 2.1 once it graduates from 
the alpha / beta stage...just a little nervous about doing RT stuff for 
a Web page until I'm sure the release is stable. Looking forward to it!

Cheers,
Bob
> Hi, Bob —
> This mixed bag of syntax options works for me:
>
> #!/bin/sh
> buffsz=200000
> script='font.gs 3'
> args='-lm '$buffsz
> /usr/local/grads/bin/grads $args -c "$script"
>
> Mark’s comment that you should be careful not to allocate more memory 
> than is available on your system is valid. If you are using version 
> 2.1 then the -m option is not needed — GrADS will automatically 
> allocate memory as needed to store the metabuffer for your graphic.
> —Jennifer
>
>
> On May 10, 2016, at 1:44 PM, Bob Kuligowski - NOAA Federal 
> <bob.kuligowski at noaa.gov <mailto:bob.kuligowski at noaa.gov>> wrote:
>
>> All,
>>
>>     I'd like to make images of some larger datasets so I need to use 
>> e.g., grads -m 20000 to expand the buffer.  However, when I try to 
>> use that particular argument in a shell script (instead of from the 
>> command line) the 20000000 trips it up; I've tried a bunch of 
>> combinations and nothing seems to work.  Is there another way to 
>> expand the buffer when running in batch mode?  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 <mailto:gradsusr at gradsusr.org>
>> http://gradsusr.org/mailman/listinfo/gradsusr
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
>
> _______________________________________________
> 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/20160516/74e01a3f/attachment.html 


More information about the gradsusr mailing list