tcevent module¶
tcevent
– run the windfield module for a single TC track¶
Run the wind.windmodels
module to calculate the wind field for a
single TC event. The track of the TC is interpolated to a fine
temporal resolution, then the maximum wind field evaluated.
Data at selected points within the model domain can be extracted at each time step, giving a time history of wind speed, direction and estimated sea level pressure for the location(s).
See the Scenario modelling section of the TCRM User Guide for details on running this script.
-
doOutputDirectoryCreation
(configFile)¶ Create all the necessary output folders.
- Parameters
configFile (str) – Name of configuration file.
- Raises
OSError – If the directory tree cannot be created.
-
doTimeseriesPlotting
(configFile)¶ Run functions to plot time series output.
- Parameters
configFile (str) – Path to configuration file.
-
doWindfieldPlotting
(configFile)¶ Plot the wind field on a map.
- Parameters
configFile (str) – Path to the configuration file.
- Note
the file name is assumed to be ‘gust.interp.nc’
-
main
(configFile)¶ Main function to execute the
wind
.- Parameters
configFile (str) – Path to configuration file.
-
timer
(f)¶ Basic timing functions for entire process