[ncl-talk] Change "Valid Time" on WRF NCL Plots

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Sat Jul 4 15:32:26 MDT 2020


It is better to not change your data files for something like this.  I do
not think NCL has a function that can handle time zone translation. If
anyone knows of such a function, please let us know.

However, you can adjust Valid Time in your NCL plot program, after you read
the WRF data into memory.  Simply add 8 hours.  The actual number to add
must be scaled to the input time units, such as "days" or "hours".

If Valid Time is string rather than numeric, you must translate it to
numeric time coordinates before adding the offset.


On Sat, Jul 4, 2020 at 9:04 AM Mohd Noor'Arifin Bin Hj Yussof via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Dear NCL Experts,
>
>
> How do I change the time on the "Valid Time" on WRF NCL Plots? The time in
> the wrfout files are all in UTC and I want to change it to my local time by
> adding +8 hours to it. How can I do this easily?
>
>
> Thanks in advance!
>
>
> Kind Regards,
>
> *Arifin Yussof*
> *Meteorological Officer*
> *Officer in Digital Product Support and Numerical Weather Prediction
> (DSNP),*
> *Strategy and **Development **Division,*
> *Brunei Darussalam Meteorological Department, **Ministry of Transport and
> Infocommunications*
>
> *Address: **Block B23, Anggerek Desa Flat , **Simpang 32-37, **Kampung
> Anggerek Desa, **Brunei Darussalam BB3713*
>
> Telephone number: (+673) *2381342 ext 233* - Website:
> http://www.met.gov.bn - Instagram/Facebook: *@bruneiweather *- Mobile
> App: *Brunei WX*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200704/15daf65e/attachment.html>


More information about the ncl-talk mailing list