A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of Tropical Cyclone Risk Model

Tropical Cyclone Risk Model - TCRM 3.1.15

  • Before Matplotlib 3.3, the epoch was 0000-12-31, later it changes to 1970-01-01 UTC.
  • Artifact actions v3 updatas to Artifact actions v4.

Climate Change - Natural Hazard and Storm - Python
Published by LiangHuLiu 6 months ago

Tropical Cyclone Risk Model - TCRM 3.1.14

Bugfix for autocorrelation function in generateStats

What's Changed

Full Changelog: https://github.com/GeoscienceAustralia/tcrm/compare/v3.1.13...3.1.14

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 2 years ago

Tropical Cyclone Risk Model - TCRM 3.1.10

Minor updates to fix issues with datetimes in the track files, threading in the processMultipliers.py script, use readthedocs, workflows for pylint and testing (now includes Python 3.9), split database query statements to a separate file.

Full Changelog: https://github.com/GeoscienceAustralia/tcrm/compare/v3.1.9...v3.1.10

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 3 years ago

Tropical Cyclone Risk Model - TCRM 3.1.9

Minor bugfix update:

track.ncReadTrackData previously returned cftime.DatetimeGregorian objects, which caused newer versions of matplotlib.dates.num2date to fail. This is because we write the tracks with units of 'hours since 1900-01-01 00:00', but matplotlib.dates uses 1970-01-01 as the epoch, and works in units of days (with no way to specify units in the num2date function). This update ensures datetime objects returned by ncReadTrackData are true python datetime objects

Also changing to Github actions for continuous integration testing

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 4 years ago

Tropical Cyclone Risk Model - TCRM 3.1.7

Bigfix for interpolateTracks.interpolate(), where there was an unhandled case of track length=3, but central pressure values were not assigned. This led to tracks with length=3 having null central pressure values in the interpolated track.

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 4 years ago

Tropical Cyclone Risk Model - TCRM 3.1.3

More bug fixes:

  • A bug where the latitude and longitude were read as doubles, not floats, which rounded the values that led to errors when sampling the mean sea level pressure data
  • Location id values were strings, not integers which led to empty queries from the hazard database when plotting return period curves
  • Add some verbosity for messages around selection of kernels in the statistical sampling components
  • Fix the autocorrelation definition in tests
  • Add a __call__ method to DummyStatus in the dummy mpi4py class, allowing the hazard module to complete in serial execution
  • AutoPlotHazard.py now reads the number of simulations from the configuration file, rather than hard-coded 10000 simulations

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 4 years ago

Tropical Cyclone Risk Model - TCRM 3.1.2

A few small issues around data types that were not captured in the initial translation to Python 3. This caused some exceptions with storing long integers in netcdf files, and an issue where wind speed values were not correctly plotted on ARI curves.

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 4 years ago

Tropical Cyclone Risk Model - TCRM 3.1.0

Update to the local wind field conversion:

  • Use a multi-band file containing local wind multipliers for each direction in a single band
  • Options to use remote source of wind multiplier data (e.g. on AWS) - mainly for GA use only
  • Tested with Python 3.8

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur almost 5 years ago

Tropical Cyclone Risk Model - TCRM 3.0.2

Updates in this release:

  • py3 compatability changes
  • updated install.rst to update conda instructions (#75)
  • use tcrmenv.yml for installation with conda
  • Fix format support (#76)
  • new track format
  • fix bug when CycloneNumber > 9
  • support multiple formats (.csv and .nc)
  • Fix scaled reduction in BL model: previous formulation wasn't reducing the influence of the BL model at the right rate
  • WIP: Add scripts to plot gridded statistics
  • Update test data for mods to BL model
  • Variable name in MSLP data file config option
  • Change netCDF4.num2date to cftime.num2pydate

Co-authored-by: Shane Martin [email protected]
Co-authored-by: Umma Zannat [email protected]

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 5 years ago

Tropical Cyclone Risk Model - TCRM 3.0.1

This update includes a number of minor bug fixes and documentation updates

  • Python3 compatability changes

  • Updated install.rst to update conda instructions (#75)

  • Fix format support (#76)

  • Some dependency fixes for Python 3

  • new track format

  • fix bug when CycloneNumber > 9

  • support multiple formats (.csv and .nc)

  • Fix scaled reduction in BL model: Previous formulation wasn't reducing the influence of the BL model at the right rate. Includes update to the test data

  • WIP: Add scripts to plot gridded statistics. This requires some additional fixes to PlotInterface.maps, which was largely translated to cartopy, but a few lingering functions were still framed in Basemap. There may still be some lurking in here.

Co-authored-by: Shane Martin [email protected]
Co-authored-by: Umma Zannat [email protected]

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 5 years ago

Tropical Cyclone Risk Model - TCRM 3.0

TCRM Version 3.0

The main development in this release is the translation to Python 3.x. In part, this was also necessitated by upgrades to our primary computing platform.

We are no longer actively developing v2.1, but critical bug fixes will be considered.

  • Upgraded to Python 3.7
  • Change to mpi4py for parallelisation
  • Removed C-extensions
  • Additional environment files to assist with installation
  • Development branches have been cleaned up

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 5 years ago

Tropical Cyclone Risk Model - TCRM 3.0rc3

Updated to remove dependencies on unsupported parallelisation libraries and provide additional conda environment file to make installation easier.

N.B. There may still be some minor issues regarding dependencies. Please let us know if any are missing when running the installation

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 5 years ago

Tropical Cyclone Risk Model - Python 3 release candidate v2

A couple of late changes to the Python 3 version, including fixes to the random nuber generation process. See the v3.0rc1 release for full details of the changes

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 5 years ago

Tropical Cyclone Risk Model - TCRM 3.0rc1

This release upgrades the code base to Python 3.6. We're putting it out for testing and checking prior to a formal release.

Changes:

  • Basemap (deprecated) has been replaced with cartopy
  • Automatic system test for scenario simulation
  • Remove unreferenced test data
  • Link in the HazImp application to enable impact analysis (see https://github.com/GeoscienceAustralia/HazImp)
  • Fix download function to use public methods
  • Fix for reading CSV files in py3
  • Update the check for compiled modules

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 5 years ago

Tropical Cyclone Risk Model - v2.1.3

Changes include:

  • Record wind field dynamics (if config [Timeseries] section specifies Windfields=True)
  • Various bugfixes (documentation hyperlinks, automated test suite, Travis build updates)
  • Cleanup legacy code (deprecated graphical configurer)
  • HazImp integration

Climate Change - Natural Hazard and Storm - Python
Published by benjimin almost 6 years ago

Tropical Cyclone Risk Model - Version 2.1

Incremental release that includes a number of minor enhancements and bug fixes.

  • Added Dockerfile for deployment (thanks to @olivierdalang)
  • Integrate the local wind multiplier code (ProcessMultipliers)
  • Added empirical ARI calculation (no fitting to any kind of EVD)
  • Fixed a bug where the translation speeds in the landfall decay model were assumed to be in km/h, but are in fact in m/s

2018-10-12

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 6 years ago

Tropical Cyclone Risk Model - v2.0.2

Fix value for bearing (storm direction) in wind.windmodels.WindFieldModel() classes

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 7 years ago

Tropical Cyclone Risk Model -

Fix for plotting hazard maps that cross the dateline

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 7 years ago

Tropical Cyclone Risk Model - TCRM V2.0.0

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 7 years ago

Tropical Cyclone Risk Model - TCRM v2.0rc1

New features:

  • Stores individual events as separate tracks and wind fields;
  • Tracks stored in netCDF4 files, using the hierarchical structure and compound variables to improve file management for large simulations;
  • Provides a relational database to allow interrogation of simulations (using an SQLite database);
  • Updated visualisation of outputs using Seaborn;

Bug fixes:

  • Update kernel density estimation methods. Previous version oversmoothed the distribution and used an isotropic bandwidth. Now uses statsmodels Multivariate KDE method for 2-dimensional KDE;
  • Numpy 1.10.1 compatibility fix (see commit 0361c7c);
  • Wind speed averaging times are as per WMO-TD1555 - default output is 0.2 second wind gust;

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur almost 8 years ago

Tropical Cyclone Risk Model - Minor fixes for individual simulations

This release fixes two minor errors. One prevented the tcevent.py script executing if the 'akima' module could not be imported. The second stopped PlotInterface.plotTimeseries() from executing, due to a deprecated keyword argument when reading the time series data files.

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur about 9 years ago

Tropical Cyclone Risk Model - TCRM version 1.0

This is the first release of the Tropical Cyclone Risk Model, for estimating the wind hazard from tropical cyclones. The model is under active development by Geoscience Australia.

A benchmark event set generated with this version of the model is available through the National Computational Infrastructure Data Collections, as part of the Australian Natural Hazards Data Archive, where the data can be accessed via HTTP, OPENDaP, WMS, NCML, NetCDFSubset services and others.

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 9 years ago

Tropical Cyclone Risk Model - Fix for evaluation errors

This release fixes an error where the Evaluation module would not complete execution, because of the use of numpy.ma.compress use when calculating percentiles for spatial variables like track density and genesis density.

Changelog:

  • Add scenario modelling example (for tcevent.py);
  • Reduce memory overhead when extracting timeseries data from scenario simulations;
  • Fix incorrect wind speed calculations arising from spurious pressure rates of change;
  • Add Akima interpolation scheme for interpolating single track positions;
  • Fix for numpy v1.10.1 changes;
  • Remove masked array compress from percentile function in evaluation routines;
  • General clean up of code;
  • Licencing and contribution information updated.

Climate Change - Natural Hazard and Storm - Python
Published by wcarthur over 9 years ago