Skip to content

Version 1.0.0

Latest
Compare
Choose a tag to compare
@leosaffin leosaffin released this 19 Nov 15:27
· 84 commits to master since this release
56fb28e

Added

  • xarray Dataset accessor (hrcn)
  • Extra keyword arguments to huracanpy.load
    • rename
    • units
    • baselon
  • sel_id function to select a single track by track_id from a Dataset but faster than using groupby

Changed

  • Simplified module namespaces
    • utils.{module}.{function} -> info.{function}
    • diags.{module}.{function} -> calc.{function} or tc.{function}
    • subset.trackswhere -> trackswhere
  • Simplified function naming
    • plot_ prefix removed functions in plot module
  • Modified arguments to load
    • keyword tracker renamed source to reflect not all tracks are from trackers, e.g. IBTrACS or statistical-dynamical downscaling models
    • Use ibtracs_subset to determine whether the subset is online or not, removing ibtracs_online keyword
    • When filename is specified for an online IBTrACS dataset, save the downloaded data to that file, rather than using ibtracs_clean=False and a default filename
  • Use a single matching function assess.match for 2 or more datasets instead of assess.match_pair and assess.match_multiple
  • Remove get_ from functions in info. Instead this syntax is used to differentiate get_ and add_ functions in the hrcn accessor
  • Split info.get_land_or_ocean into is_land and is_ocean
  • Renamed tc.sshs_cat to tc.saffir_simpson_category and tc.pres_cat to tc.pressure_category
  • Improved support for calculations with units (using metpy style functions)
  • Updated IBTrACS data

Removed

  • add_info argument from huracanpy.load
  • add_all_info function. Instead use add_ functions on hrcn accessor
  • get_time. Functionality already covered by pandas.to_datetime

Fixed

  • huracanpy.info.season now works with cftime.datetime