[gradsusr] Creating Script for Total Precip Rain/Snow

Tyler Youschak tyleryouschak at gmail.com
Thu Nov 7 07:47:16 EST 2019


Thanks for getting back!

For fhour, I’m passing the fhour to the script from arguments. For
instance, for the 12z run, I’m passing 6 for fhour, but as I get new data
in - say the next hour (not next z run) and pass it as fhour so it would
increment to 7.

Is this what you mean?

Thanks,
Tyler

On Thu, Nov 7, 2019 at 1:07 AM Jeff Duda <jeffduda319 at gmail.com> wrote:

> You'll need to include the declarations of 'fhour' in order to get more
> complete help.
>
> Jeff Duda
>
> On Wed, Nov 6, 2019 at 4:39 PM Tyler Youschak <tyleryouschak at gmail.com>
> wrote:
>
>> Hello all,
>>
>> I'm trying to create a script to total, for instance, the total rain or
>> snowfall (10:1) throughout a model run of the HRRR. I'm getting my hrrr
>> files from nomads' ftp.
>>
>> Within my grads file, I'm doing this:
>> 'define snowacc = sum((APCPsfc*CSNOWsfc),t=1,t='fhour+1')/2.54'
>> 'd snowacc'
>>
>> However, when I do this, it is only showing the amount of snow that fell
>> during one hour, and not from the fhour of "0" (or 1).
>>
>> I'm having the same issue with rain precipitation as well.
>>
>> If anyone is able to shed some light on this, it would be appreciated.
>>
>> Thanks,
>> Tyler
>>
> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>>
>
> --
> Jeff Duda, Research Scientist
> University of Colorado Boulder
> Cooperative Institute for Research in Environmental Sciences
> NOAA/OAR/ESRL/Global Systems Division
> Boulder, CO
> _______________________________________________
> 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/20191107/5c21bbac/attachment.html>


More information about the gradsusr mailing list