Skip to content

v0.15.0

Latest
Compare
Choose a tag to compare
@znichollscr znichollscr released this 11 Nov 16:32
· 1 commit to main since this release

Announcements

  • We have updated the package to be more in line with the DRS description. This is a breaking change. For full details, please see below.

Changelog

⚠️ Breaking Changes

  • Updated to better be in line with the DRS description.
    The DRS makes no comment on the values in the directory names,
    hence we now make no assumptions and put no requirements on characters used in directory names.
    The restriction to only a-z, A-Z, 0-9 and the hyphen plus special use of the underscore
    is now only applied to file names.
    As a result, files with variables that have underscores in their names
    are now written with underscores in their directories, but not in their file name.
    For example,
    .../mon/mole-fraction-of-methane-in-air/gn/.../mole-fraction-of-methane-in-air_input4MIPs_GHGConcentrations_CMIP_CR-CMIP-0-2-0_gn_200001-201012.nc
    is now written as
    .../mon/mole_fraction_of_methane_in_air/gn/.../mole-fraction-of-methane-in-air_input4MIPs_GHGConcentrations_CMIP_CR-CMIP-0-2-0_gn_200001-201012.nc. (#83)

🐛 Bug Fixes

  • Fixed a bug in
    [validate_file_written_according_to_drs][input4mips_validation.cvs.drs.DataReferenceSyntax.validate_file_written_according_to_drs]
    which caused it to break if the file contained metadata which was not a string. (#83)

🔧 Trivial/Internal Changes

Changes