[gradsusr] While Loop Causing Graphics To Overwrite One File
Haibin Li
hli at envsci.rutgers.edu
Tue Jan 14 09:51:01 EST 2014
add "i=i+1" before endwhile
On 1/14/2014 2:59 AM, Perry, Aaron @ LSC wrote:
> Good Morning All,
>
> I'm currently having an issue in my script where instead of multiple,
> separate graphics being produced, GrADS is overwriting the
> first-created file over and over again.
>
> I suspect that issue is with my modified if/endif statement nested in
> a while loop. The id/endif statement seems correct to me but, that's
> saying alot, since it's clearly not working properly...
>
> I've attached the problem script file to this email for anyone to pick
> apart and try to null out this speed bump.
>
> The data that I'm using is GFS data (3hr increments), where every
> forecast hour in the GRIB2 file name below 10hrs has a zero in front
> of the forecast hour (00, 03, 06, 09). After 9hrs, the zeros go away.
>
>
> Onward and Upward,
>
> Aaron D. Perry
> Boston, MA
> Lyndon State College '16
> Twitter: @AaronPerryLSC <https://twitter.com/AaronPerryLSC>
> Mobile: 617-780-4312
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140114/1d15753f/attachment.html
More information about the gradsusr
mailing list