Change Log
v1.0.0
Dependencies
add support for Python 3.10 and 3.11
support dropped for cf-python <=3.16.2
API changes
3 new Components added to framework to allow modelling of nutrient cycle (#14)
Unit tests updated to include the 3 new Components (#93)
Bug fixes
fix
DataComponent/NullComponentbug making them unusable as substitute components in aModel(#87)fix broken grid cell area calculation with CF-Python version 3.14.0 and above (#98)
fix broken grid subsetting with CF-Python 3.16.2 (#101)
Documentation
v0.1.1
Released on 2022-04-17.
Bug fixes
fix intermittent data filenames loss in YAML configuration file (#80)
fix relative import bug for advanced test suite (#82)
prevent unwanted installation of
testspackage alongsideunifhy(#83)
Documentation
v0.1.0
Released on 2021-12-07.
Functional changes
constrain temporal and spatial resolutions of components forming a model to be integer multiples of one another (#67)
enforce two-dimensional spatial domains for components (#69)
allow components to use/produce only parts of the standardised transfers through the framework interfaces (#76)
API changes
add units requirement for component parameters and constants (#21)
move
Componentand its subclasses from subpackagecomponentsto package root (#46)rename component class attributes
_flow_directionand_land_sea_maskin component definition to_requires_flow_directionand_requires_land_sea_mask, respectively (#46)remove science components (Artemis and RFM) from framework (#45)
remove vertical dimension (i.e. altitude) in
LatLonGrid,RotatedLatLonGrid, andBritishNationalGrid(#69)replace
Statedunder methods__getitem__and__setitem__withget_timestepandset_timestepmethods (#71)include component inputs as arguments given to
initialisemethod (#75)revise/refine component inward and outward transfers (#76)
Bug fixes
fix dump file update bug due to missing ‘divisions’ dimension (#32)
fix model identifier renaming not propagating to its components’ identifiers (#48)
fix impossibility to run
Modelusing aComponenton theBritishNationalGrid(#51)fix failed aggregation of fields with no standard name in
DataSet(#52)apply
land_sea_maskto underlying field ofGridto be used in remapping (#59)
Enhancements
add support for arrays for component parameters (#21)
add support for multiple divisions for component states (#39)
add support for customisable divisions for component states (#31)
add time slice for I/O operations (user customisable) (#42)
cache remapping weights at initialisation (#44)
add
cell_areaproperty toSpaceDomainthat can be provided by the user or else automatically computed forGrid(#61)add
initialised_statesproperty toComponentto allow component contributors not to overwrite user-defined initial conditions (#75)add
shelfattribute toComponentto allow the communication of data between component methods (#75)add
_inwardsand_outwardscomponent class attributes to allow contributors to declare what interface transfers their component use and produce, respectively (#76)
Dependencies
change dependency
cf-python>=3.11.0drop support for Python 3.6
Documentation
document ‘divisions’ for component states in preparation page (#35)
move API reference page to doc tree root
move science library page to doc tree root
add support page
add change log page
add logo for package
v0.1.0-beta
Released on 2021-02-10.
first release