Hi Steve,
This question may be more appropriate for wrfhelp@ucar.edu, whom I've CC'ed here.
The Times variable has a format like:
2003-12-01_00:00:00
so you might be able to do something like:
Times = "2013-05-20_16:00:00"
Times!0 = "DateStrLen"
f->Times = tochar(Times)
Where "f" is the file id opened with "addfile".
--Mary
On May 20, 2013, at 7:30 PM, steve kirby wrote:
> Hi,
>
> I need to add a Times variable to a netCDF file. I just created it, using ncl_convert2nc on a GRIB1 file. My problem, apparently, is that no Times variable is created in this conversion and I need one in order for a WRF post-processing code, "wrfpost" (the latest version is called unipost), to succeed.
>
> I know that for this file the model initialization time is 5/20/2013 1600UTC and it is the 1h forecast. Can you point me to a link or illustrate with a NCL code snippet?
>
> TIA,
> Steve
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue May 21 09:43:15 2013
This archive was generated by hypermail 2.1.8 : Thu May 30 2013 - 11:38:10 MDT