Changelog¶
0.4.10¶
- Date
TBA
Add more names to
model.baseAdd functions to calculate synthetic transmission spectrum
0.4.9¶
- Date
12 April 2021
Add cached-property as a dependency
Rename
AtmosFlowtoAtmoSimand create a base classAtmoSimBaseAdd
extract()method toAtmoSimBaseAdd pressure coordinate to
DimConstrRefactor
Runand prepare for its deprecationAdd
load_data()toioMove
add_planet_conf_to_cubes()to theconstmoduleDeprecate
ScalarCubeAdd new variable names to
umRefactor derived constants and add
planet_rotation_rateto the recipesAdd an option not to broadcast the coordinate to the cube’s shape in
coord_to_cube()Make
spatial(),time_mean()andvertical_mean()return the input cube in case ofCoordinateCollapseErrorAdd
abs_coord_mean()to average data over latitudes symmetric around the equatorAdd functions to calculate meridional and zonal streamfunctions
Improve docstrings
Add an example notebook for working with model names
0.4.7¶
- Date
03 December 2020
Move to conda-forge for building the package
Replace TravisCI with GitHub Actions
Restructure the package:
the library is now in
src/aeolustests are now in
tests/
Core classes:
Add
AtmosFlow
New
calcfunctions:Add a decorator to update cube metadata,
update_metadata()Add shortcut functions
spatial_mean()andtime_mean()Add
air_potential_temperature()Add functions to rotate and regrid variables to “tidally-locked” coordinates
Add
wind_speed()
New
coordfunctions:Add functions to interpolate cubes to pressure levels (depend on python-stratify package)
Add a function to interpolate one cube to another along the time dimension (
interp_to_cube_time)Add a container to store common coordinates
Add
check_coords(),get_xy_coords()
New
subsetfunctions:Add a function to filter out duplicated cubes from a cubelist:
unique_cubes()
Other changes:
Append names to
model.umAdd a function to load vertical levels data
Improve
interp_to_pres_lev()Add
modelkeyword toplot.pvfunctionsRewrite
DimConstrAPI
0.4.6¶
- Date
17 September 2020
New
calcfunctions:Add convenience functions to
calculusfor doing simple derivativesAdd a function to calculate horizontal divergence in spherical coordinates
Add
air_density(),air_temperature(),dry_lapse_rate(),flux()andgeopotential_heightfunctionsAdd
horiz_wind_cmpnts()helper functionAdd
normalize_cube()Add
superrotation_index()
New
coordfunctions:Add a function to emulate
xarray’sisel()method.Update
get_cube_datetimes()and add a new function,get_cube_rel_days()Add a function to broadcast coordinate deltas to a cube.
Add a function to calculate volume from a cube’s grid.
Other changes:
Append names to
model.umRefactor surface and TOA energy balance calculation, and do not apply spatial averaging to P-E
Override
__repr__ofmodel.base.Model
0.4.5¶
- Date
08 June 2020
API changes:
add
modelsubmodule for model-specific variable and coordinate namesreplace all
UM_*variables with themodelreferencereplace all
DIM_CONSTR_*by a classDimConstrwith each of the constraints as an attributereplace
coord.add_binned_lon_lat()by a genericcoord.add_binned_coord()function
Minor bug fixes and clean-up
0.4.4¶
- Date
04 May 2020
Add Python 3.8 to build matrix
API changes: merge
gridintocoord; movemiscflux calculations tocalcsubmodule, removeutilfolder by movingtexttoplot.Add a function to attach non-Earth auxiliary time coordinates to a cube
Add Titan constants (some orbital parameters are those for Saturn for simplicity)
Fix a typo in Earth constants
Add a new function for matplotlib plots:
plot.add_custom_legend()Minor fixes in the travis integration
0.4.3¶
- Date
30 March 2020
Add diagnostics:
vertical_mean(),vertical_sum()Improve diagnostics (
sfc_water_balance()) and utilities (regrid3d())Allow for the initialisation of
Runfrom a pre-processed dataAdd a method to
Runto save processed cubelist to netCDFFix a few bugs
0.4.2¶
- Date
05 January 2020
Improve calculation of precipitation sums
Add a helper function to retrieve planet radius from a cube
Add
timestepattribute toRunImprove docstrings
Remove two functions from
pvsubmodule (now inpyvistalibrary)Move documentation to github pages
Fix a few bugs
0.3.2¶
- Date
21 November 2019
Add basic examples as Jupyter Notebooks
Improve plotting functions and diags
Add test data