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, SAMFindCoordNames()
: find longitude, latitude and vertical coordinate namesStandardGrid()
: 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, pluscoslat
,sinlat
, coriolis parameterf
, stationary wavenumberkstar
,beta
, and some specific color schemes for selected variables TotalColumnOzone()
,GlobalMass()
,ComputeOzoneHoleArea()
- all related to stratospheric ozoneDetectEvents()
: 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