<div dir="ltr">So basically instead of having:<div><br></div><div><div>function map(arg)</div><div>if (arg = '')</div><div> pull cmdline</div><div>else</div><div> cmdline=arg</div><div>endif</div><div><br></div><div>map=subwrd(cmdline,1)</div><div><br></div><div>if (map = 'conus')</div><div> latr='18 62'</div><div> lonr='-130 -58'</div><div>endif</div><div><br></div><div>if (map = 'alaska')</div><div> latr='50 74'</div><div> lonr='-170 -135'</div><div>endif</div><div><br></div><div>if (map = 'test')</div><div> latr='48 56'</div><div> lonr='-85 -63'</div><div>endif</div><div><br></div><div>if (map = 'blah')</div><div> latr='62 70'</div><div> lonr='-162 -150'</div><div>endif</div><div><br></div><div>'open /gfsmodeldata/gfs.ctl'</div><div>'set dfile 1'</div><div><br></div><div>'set mproj latlon'</div><div>'set display color white'<br></div><div>'set csmooth on'</div><div>'set grid off'</div><div>'set grads off'</div><div>'set mpdset hires'</div><div>'set map auto'</div><div>'set line 1'</div><div>'set csmooth on'</div><div>'set grads off'</div><div>'set gxout shaded'</div><div>*PAGE SIZE</div><div>'set vpage 0.0 11.0 0.0 8.5'</div><div>*PLOT SIZE</div><div>'set parea 0.4 10.3 0.4 7.9'</div><div><br></div><div>at the top of all of our gfs scripts, we can put that into a "<a href="http://gfs_master.gs">gfs_master.gs</a>" and just "include" that in at the very top of all of our gfs scripts? This way as we add more "defaults" to the configuration we just edit one file instead of every single script?</div>
</div></div>