GeoscienceAustralia / tcrm

A statistical-parametric model for assessing wind hazard from tropical cyclones
http://geoscienceaustralia.github.io/tcrm
Other
81 stars 52 forks source link

datetime convert #117

Closed mayank072015 closed 2 years ago

mayank072015 commented 2 years ago

how datetime convert into standard datetime in output track data floder

wcarthur commented 2 years ago

The cftime library can be used to convert from the datetime values to python datetime objects. See the num2date function. Note the units and calendar of the data in the track files are required - these are stored as attributes of the time variable in the netcdf file.