Static Graphic - Changing Script

Kris Wile kwile at THESEUS-ENERGY.COM
Thu Jun 14 09:51:01 EDT 2007


Chuck,

Thanks for the help.  I finally figured it out.  I needed to "set t <time1>
<time2>" before I defined any variables.  Then just change the time prior to
defining each new variable.  Similar to what you were doing here.  Thank you
nonetheless.

Kris


On 6/13/07 3:48 PM, "Charles Seman" <Charles.Seman at NOAA.GOV> wrote:

> Kris,
>
> Perhaps your defined variables are not being updated?
>
> One idea to try -- add a 'reinit' at the top of the script:
> http://grads.iges.org/grads/gadoc/reinitialization.html
>
> Also, since there are differences in your "xdf" files, it might be good
> if you could explicitly set the dimension parameters before defining
> "air07f", "air06f", etc... This would help minimize potentially not
> defining something as you would like...
> 'set dfile 1'
> 'set lon ... ...'
> 'set lat ... ...'
> 'set t ... ...'
> 'define air07f ...'
> 'set dfile 2'
> 'set lon ... ...'
> 'set lat ... ...'
> 'set t ... ...'
> 'define air06f ...'
> ...etc
>
> I hope this helps,
> Chuck
>
> Kris Wile wrote:
>> I have created a script that compares weekly temps from this year compared
>> to last year and the difference.  Choosing the corresponding dates for each
>> week is based upon day # in the calendar year.  The 3 files I open at the
>> beginning of the script have slightly different total timesteps (total days
>> in the corresponding daily annual file), however they are all dset to the
>> same beginning timestep in the xdf files.  The script gives me a reasonable
>> plot from when I set up the script and it works.  However, when I change the
>> variables for the beginning and ending timesteps (dayBEG1, dayBEG2, dayEND1,
>> day END2), the plot remains static from the original timesteps I plugged in.
>> Is there any reason why the graphic doesn't update to the latest saved
>> timesteps and corresponding graphics?  I attached the script.  Any help
>> would be well appreciated!
>>
>> Thank you,
>> Kris
>>
>>
>> --
>> Kris Wile
>> Chief Meteorologist
>> Theseus Energy, LLC
>> 1000 Lousiana, Suite 6925
>> Houston, TX 77002
>> Phone:  (713) 751-9900
>> Fax:  (713) 893-6263
>> Email:  kwile at theseus-energy.com
>>
>>
>>
>>
>
> --
>
> Please note that Charles.Seman at noaa.gov should be considered my NOAA
> email address, not cjs at gfdl.noaa.gov.
>
> ********************************************************************
>  Charles Seman                                Charles.Seman at noaa.gov
>  U.S. Department of Commerce / NOAA / OAR
>  Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
>  201 Forrestal Road                              fax: (609) 987-5063
>  Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
> ********************************************************************
>
> "The contents of this message are mine personally and do not reflect
> any position of the Government or NOAA."
>

--
Kris Wile
Chief Meteorologist
Theseus Energy, LLC
1000 Lousiana, Suite 6925
Houston, TX 77002
Phone:  (713) 751-9900
Fax:  (713) 893-6263
Email:  kwile at theseus-energy.com



More information about the gradsusr mailing list