Skip to content

o3api 0.8.5

Latest

Choose a tag to compare

@vykozlov vykozlov released this 24 Nov 21:45

o3api is a part of the O3as service, which provides a service to efficiently explore ozone projections, including the calculation of key metrics.

o3api documentation is available in https://o3as.readthedocs.io/en/latest/o3api/docs/source/

Changes since 0.8.0

Added

  • Code of conduct, Contributing, codemeta

Changed

  • model's plotstyle is now loaded from the file provided in the "O3AS_DATA_SOURCES_CSV" environment variable (defaults to "O3AS_DATA_BASEPATH/Data sources - Sources.csv")
  • change the logic how boxcar smoothing is applied:
    1. select data slice with valid data, i.e. avoid NaNs at start and end
    2. if there are NaNs within the data range, interpolate
    3. apply boxcar smoothing on this data slice
    4. update original data with the smoothed values
  • the observed data is NOT shifted anymore to the reference point, i.e. measured data is taken 'as-it-is'
  • Updated CI/CD to build docker images automatically
  • Deployment in Kubernetes (k8s subdirectory) is now moved to the dedicated repository, o3k8s
  • Updated the documentation
  • Update requirements

Fixed

  • JSON output lists all years for the selected range, even if there is no data. Otherwise some regions may be missed in the tco3_return plot