Releases: nismod/smif
Releases · nismod/smif
v1.3.2
v1.3.1
Fixes:
- Move unit registration to within UnitAdaptor.simulate (fixes running with custom units)
- Update npm dependencies
v1.3.0
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
Fixes:
- Fix warm start re-run
- Update npm module dependencies in React app
- Fix docs build
v1.2.0
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
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
Features
- Add a
port
argument to cli forsmif app
v1.0.7
Fixes
- Fix ambiguous smif cli verbosity arguments
v1.0.6
Fixes:
- smif app bugfix
v1.0.5
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