Skip to content

Releases: nismod/smif

v1.3.2

16 Dec 10:34
Compare
Choose a tag to compare

Changes to tested Python and Node.js versions:

  • Bump Python versions (drop 3.5 from testing, test on 3.6 and 3.8)
  • Bump Node version (test on current LTS release, 14.15.1)

Fixes:

  • Update npm dependencies

v1.3.1

24 Apr 15:24
Compare
Choose a tag to compare

Fixes:

  • Move unit registration to within UnitAdaptor.simulate (fixes running with custom units)
  • Update npm dependencies

v1.3.0

02 Mar 14:45
Compare
Choose a tag to compare

Features:

  • Add smif CLI subcommands: decide, before_step, step
  • Add --dry-run option when running a whole model run - prints a list of step subcommands
  • Allow concrete instances of Model, SectorModel
  • Include only sector_models and model_dependencies in job graphs (reduces logging noise)
  • Include hundredths of a second in log timings

Fixes:

  • Handle one-dimensional DataArray to Dataframe conversions (could mis-sort data with unordered
    labels in conversion to/from xarray - see pydata xarray #3798)
  • Update npm dependencies
  • Relax ruamel.yaml requirement to >=15.50
  • Fix Travis/Appveyor tests under Python 3.5 (install/pin dependencies

v1.2.1

04 Sep 13:51
Compare
Choose a tag to compare

Fixes:

  • Fix warm start re-run
  • Update npm module dependencies in React app
  • Fix docs build

v1.2.0

21 Aug 08:10
Compare
Choose a tag to compare

Features:

  • Warm start avoids re-running models within a partially-complete timestep
  • DAFNI scheduler plugin
  • Convert CSV to Parquet store
  • Create model runs corresponding to all variants in a scenario
  • Results object gives access to all model run results (helper wrapper around a Store)

Fixes:

  • Handle missing dims in dependency validation
  • Clear results before new run
  • Update pytest and fix testing for error messages
  • Fix spec/data mismatch when reading scenario data

Config update may be required:

  • Data file references in YAML configs should not include extensions (.csv or .parquet) in
    order to support conversion between data store implementations.

v1.1.0

07 May 15:51
bd967e7
Compare
Choose a tag to compare

Features

  • DecisionModule now handles the state of the system of systems
    correctly; refactored pre-spec planning out of DecisionModule
  • Results_Handle provides read-only access to state
  • Can read and write empty state to and from store without errors
  • Added documentation on how to use pre-specified planning
  • Find out model runs which have results available
  • Identify missing results
  • Programmatically access results

v1.0.8

09 Apr 10:43
17aab98
Compare
Choose a tag to compare

Features

  • Add a port argument to cli for smif app

v1.0.7

09 Apr 10:42
ba2627e
Compare
Choose a tag to compare

Fixes

  • Fix ambiguous smif cli verbosity arguments

v1.0.6

09 Apr 10:42
13d0383
Compare
Choose a tag to compare

Fixes:

  • smif app bugfix

v1.0.5

09 Apr 10:41
d0f54ff
Compare
Choose a tag to compare

v1.0.5
Minor updates:

  • Convert custom units with UnitAdaptor
  • Cache coefficients by dimension pairs for greater reuse
  • Handle and test for duplicate data rows on read
  • Improve error message if file data is missing timestep
  • Improve DataArray.from_df validation and messages
  • Use gzip compression for smaller parquet files
  • Faster comparison of dim names using python set

Fixes:

  • Debug messages with non-str interval names in IntervalAdaptor
  • Store dimensions as CSV, special-case convention for intervals
  • Handle raw Exception from xarray v0.10
  • Ensure DataHandle.get_data returns DataArray named as the input spec