Skip to content

CFA: Create Functionality

Compare
Choose a tag to compare
@dwest77a dwest77a released this 11 Oct 13:46
· 9 commits to main since this release
12137fc

The October 11th (2024.10.11) release includes the following feature additions:

General:

  • Name change: The package CFAPyX has now officially become cfapyx in every instance of the python package. The documentation and github repository will continue to use the capitalised version, but all installations and code examples should now use cfapyx on importing. In future the package may again change name to reflect the established use, and will most likely later become cf-aggregate - the official CF Aggregations package for CF 1.12.
  • Logging: A standardised logger has been added to the cfapyx package, with limited logging messages for the xarray engine but an extensive collection within the create module.
  • Mutable Defaults: cfapyx is now free from the evils of mutable defaults in all instances.
  • Support for multiple locations: Fixed the method of determining trailing dimensions for the location parameter in CFA-netCDF files.
  • Poetry: cfapyx now uses Poetry to handle project dependencies within the pyproject.toml file. The requirements files are still present for the current version, but will be removed with the next minor update.

CFA Create:

  • CFANetCDF class for constructing CF-compliant Aggregation files. This is in alpha release for the 2024.10.11 version, but should perform well with expected NetCDF structures including scalar dimensions and variables, and identical variables across multiple files.