Skip to content

aostools v2.6

Latest
Compare
Choose a tag to compare
@mjucker mjucker released this 19 Oct 02:32
· 11 commits to master since this release

As a general note, I have gradually shifted to xarray as the basis to everything I do. As a consequence, expect all new development to be based on xarray.Dataset or xarray.DataArray. There are still multiple functions which exists as FunctionName() and FunctionNameXr(): In this case, expect the FunctionName() to work but not receive further updates. So to take advantage of new developments and bugfixes, I encourage the use of xarray and the FunctionNameXr() versions where available. I plan to re-structure this for >= v3 and move the non-xarray function to a legacy folder.

New Functions

I have been lazy with releases and there are now a lot of new functions. I realize this is unprofessional and try to do better in the future. Here a list of what I think might be the most important new functions.

  • ComputeRossbyWaveSource()
  • OceanIndex(): ENSO, IOD, SAM
  • FindCoordNames(): find longitude, latitude and vertical coordinate names
  • StandardGrid(): Reset grid to longitude in [0,360], latitude from -90 to +90. Optionally rename coordinates to ['lon','lat','pres']
  • new file constants.py: access all kinds of relevant constants, plus coslat, sinlat, coriolis parameter f, stationary wavenumber kstar, beta, and some specific color schemes for selected variables
  • TotalColumnOzone(), GlobalMass(), ComputeOzoneHoleArea() - all related to stratospheric ozone
  • DetectEvents(): find events of any array reaching a threshold for a given time period
  • many bugfixes in other functions

New Contributors

Full Changelog: v2.5...v2.6