Change log¶
0.6.0 (27/03/2022)¶
Features¶
feat: CLI args types, docstrings; fix aoi CLI arg; fix CLI tests
feat: rm stale config files
feat: accept aoi_vector_filepath arg
feat: compare random arg in
get_model_perf_dffeat: predict t_da using rioxarray (also dropped dask)
Fixes¶
fix: drop stale dask requirement
fix: factors/intensity param keys:values in cli dump solution
fix: rm align CLI option and rm align req for t_raster in docstrings
fix: test the dates argument
fix: proper management of the dates arg/attr
Other¶
docs: remove refs to stale
predict_tmethodsdocs: updated license file for github badge
docs: updated user guide for CLI (quotes, comma/space sep)
docs: updated README (install instructions, license badge)
docs: fix path to cli function, rtd install package
ci: skip existing in github actions test pypi
ci: added aoi tests
ci: fix num_steps/num_update_logs in cli tests
ci: test both cc_methods
refactor: use sample_comparison_df in calibration energy
ci: test cli for both comma and space separators
ci: calibrate in module tests
refactor: use keyword-only args
style: using ruff with numpy docstrings
refactor: using Python 3 super class syntax
docs: updated RTD config to use conda
0.5.0 (07/01/2022)¶
feat: run invest to align rasters to ensure consistent raster meta
fix: data array groupby apply -> map (deprecation)
feat: CLI using fire instead of click
fix: rio crs to str for fiona (not needed in fiona>=1.9)
0.4.1 (11/09/2020)¶
compute r2 score with scipy.stats to avoid negative values
0.4.0 (10/09/2020)¶
dropped
predict_tmethod (replaced bypredict_t_arrs)use sample name, index and keys attributes to index the samples
0.3.3 (18/08/2020)¶
corrected
obs_arranddatesinUCMWrapper.__init__and test that certain functionalities can work without providing observed temperature values
0.3.2 (18/08/2020)¶
correct docs: math, predict_t_arr, opt. UCMWrapper args
optional
t_raster_filepaths/station_t_filepathinUCMWrapper
0.3.1 (28/07/2020)¶
fix readthedocs build issues by adding more libraries to
autodoc_mock_importsadded docstrings for public API methods
added
UCMCalibrator.calibratemethod (usesAnnealer.anneal)fix passing
ucm_argstoget_comparison_dfandget_model_perf_dfmethods
0.3.0 (27/07/2020)¶
custom
datesargument inUCMWrappershortcut to useful
UCMWrappermethods inUCMCalibratorusing
_ucm_params_dictproperty to get params from annealer stateadded sample comparison and model performance methods
added
predict_t_damethod (works with xarray)renamed variables
model_args->ucm_args,DEFAULT_MODEL_PARAMS->DEFAULT_UCM_PARAMSdefault model parameters from
settingsmodule inbase_argsattribute of theUCMWrapperclass
0.2.1 (23/06/2020)¶
update
base_argswithmodel_argsinpredict_t_arrcompute R^2 with
scipy.stats(instead ofsklearn.metrics)exclude zero kernel distance to avoid nan/infinity errors
0.2.0 (18/06/2020)¶
set
natcap.investversion requirement as>=3.8.0, restrict pygeoprocessing to<2.0alignment of the temperature rasters if needed
using
src.dataset_mask()method instead ofarr != src.nodatadumped
aoi_vector_filepathargument, automatically generating a dummy one instead (since it is not used in the calibration)
0.1.1 (08/05/2020)¶
fix automatic defaults for
num_stepsandnum_update_logsset num_steps/num_update_logs to 2 in tests to test
movemethod
0.1.0 (07/05/2020)¶
initial release