Skip to content

Releases: c-hydro/d3tools

v2.4.0-alpha

04 Feb 12:28
a1e9fd7

Choose a tag to compare

D3TOOLS v2.3.0

09 Dec 12:47
a17a39b

Choose a tag to compare

✨ New Features

🐛 Bug Fixes

  • 201599d - data: ensure today is accepted as last date from dataset (commit by @ltrotter)
  • aed693f - data: ensure data is straight before setting it to template (commit by @ltrotter)
  • 936410b - data: ensure memory datasets don't use templates (commit by @ltrotter)
  • bb17c6b - io: ensure time columns in gpd are converted to string before saving json (commit by @ltrotter)
  • e9c5d9d - data: ensure tags are read correctly if time_signature is end+1 (commit by @ltrotter)
  • 311374f - parse: ensure string dates are not parsed in substitute_sting withoug format (commit by @ltrotter)
  • adcfb58 - io: ensure crs is maintained when reading json files (commit by @ltrotter)
  • 19d56e5 - io: ensure we are not writing metadata to json dictionaries (commit by @ltrotter)
  • dc2f3e9 - data: improve day handling in datasets (commit by @michelisabellon)
  • 8bde062 - dataset: use last_ts instead of first_date for template making (commit by @ltrotter)
  • 5d0d52a - timstepping: enure extend doens't try to return a timestep (commit by @ltrotter)

🔧 Chores

  • c2aedbd - setup: update version and prescribe dependency versions (commit by @ltrotter)

D3TOOLS v2.2.0

05 Aug 09:03
49275b4

Choose a tag to compare

✨ New Features

  • 4b70515 - data: add support for parquet files (commit by @ltrotter)
  • 78fdc83 - thumbs: allow making thumbnails also for shapefiles (commit by @ltrotter)
  • ef9baed - options: enable using environment variables to populate options (commit by @ltrotter)
  • 06960e3 - data: allow to save data as_is to avoid calling template (commit by @ltrotter)

🐛 Bug Fixes

  • 843d74c - timestepping: ensore TimeRange.get_timesteps works with int freq (commit by @ltrotter)
  • 661dc03 - thumbnails: fix colormaps, hopefully for real this time (commit by @ltrotter)
  • 2a42df2 - data: make Datasets.qc_checks work with xr.Dataset input (commit by @ltrotter)
  • 72bdb19 - timestep: make finding timesteps easier (commit by @ltrotter)
  • 5a673cc - data: ensure metadata is set correctly and name is string (commit by @ltrotter)
  • a46f45d - data: use EPSG:4326 if you cannot find the crs for the template (commit by @ltrotter)
  • 457ae62 - io: ensure nodata value is set when writing chunked data (commit by @ltrotter)

♻️ Refactors

  • 6827ecf - data: ensure the logging string is created only if requested (commit by @ltrotter)
  • 95f8351 - data: efficient saving of chunked data (commit by @ltrotter)

🔧 Chores

D3TOOLS v2.1.0

23 May 07:58
6cd5a41

Choose a tag to compare

✨ New Features

🐛 Bug Fixes

  • affcb7d - data: fixes to ensure no extra timesteps are returned with get_timesteps (commit by @ltrotter)
  • 8a38fbc - patches: minor patches to parser and remote dataset (commit by @ltrotter)
  • da0d40a - data: handle timestep and time_agg together with setters (commit by @ltrotter)
  • 4eea216 - cases: fix setting case_ids when n == 0 (commit by @ltrotter)
  • 010d48e - remote: fix cleanup function to new rm_at_exit (commit by @ltrotter)
  • 3a70aa0 - exit: correct code on rm_at_exit (commit by @ltrotter)
  • 6ce3cac - parse: ensure points are alloewd in dataset parsing from options (commit by @ltrotter)
  • a8ddc48 - io_utils: separate set_nan (writing) from reset_nan (reading) (commit by @ltrotter)
  • 96190a7 - io: remove = from value_checks to set type (commit by @ltrotter)
  • 32a122a - data: rm now from kwargs when calling get_last_date twice (commit by @ltrotter)
  • 5305fb4 - case_manager: reset iterate_subtree as it was (commit by @ltrotter)
  • e1a84be - case_manager: rename layer to depth in iterate_tree (commit by @ltrotter)
  • d6222a2 - data: ensure parents are maintained when updating a ds (commit by @ltrotter)
  • e899031 - data: enure parents are checked if availabel at check_data (commit by @ltrotter)
  • cd072bc - cases: patch typos in case_manager (commit by @ltrotter)
  • ad4834f - thumbnails: fix error in visualisation when thumbnail has no nan data (commit by @ltrotter)
  • e909de0 - data: ensure data type (and fillvalue) is set correctly if template and data diverge (commit by @ltrotter)
  • 6f4bfca - parse: correct error in extract_date_and_tags in case of multiple tags (commit by @ltrotter)
  • 0a4c058 - data: do not write data in mem_dataset when creating from parents (commit by @ltrotter)
  • ae22808 - data: make template not write _FillValue in case different variables have different data types (commit by @ltrotter)
  • 481e47e - data: make template use the data fill value if available (commit by @ltrotter)
  • efc7753 - timestepping: fix aggregation from hourly data (commit by @michelisabellon)
  • 87db32d - parse: ensure parsing works as expected (file_version search) (commit by @ltrotter)
  • 02daf2d - data: changes to data to accomodate hcwi (commit by @ltrotter)
  • 59caa65 - cases: ensore previous cases are modified when merging (commit by @ltrotter)
  • e62bb3c - data: ensure check_data works with file_version (commit by @ltrotter)
  • 7e413b2 - parse: ensure curly-braket tags are parsed correctly when left as are (commit by @ltrotter)
  • a392c8c - io: ensure nan type is compatible with data type before saving (commit by @ltrotter)
  • a8e7cf0 - timeperiod: return 0 if length of time period is negative (commit by @ltrotter)
  • 420d554 - timewindow: ensure timewindow of hours unit is applied correctly (commit by @ltrotter)
  • bbce89e - data: ensure dataset is created in the same format as data is saved and loaded (commit by @ltrotter)
  • 9c3ca53 - cases: hack to ensure we can add empty layers to case_tree (commit by @ltrotter)
  • fa141a6 - data: ensure template data is closed so that tmp dir can be deleted (commit by @ltrotter)
  • 890837b - data: fix GET method for OVHS3Dataset (commit by @michelisabellon)
  • [85fb640](85fb...
Read more

d3tools v2.0.1

13 Feb 16:34
9824c7a

Choose a tag to compare

✨ New Features

  • 3f26190 - timestepping: add functionality to get unit of time from ts_per_year (commit by @ltrotter)
  • f9bf561 - timestepping: add fucntionality to check if units are multiples of each other (commit by @ltrotter)
  • 0aca813 - timestepping: add functionality to create TimePeriod from Any (commit by @ltrotter)
  • edef773 - data: add method to get timesteps in TimeRange (commit by @ltrotter)
  • 2445d97 - timestepping: add method to extend time_period (commit by @ltrotter)
  • f00c503 - time: add aggregation information to timesteps (commit by @ltrotter)
  • c1bd7de - timestep: add factory to typesteo from unit (commit by @ltrotter)
  • 2c852a7 - timestepping: make agg_window also a class property via the metaclass (commit by @ltrotter)
  • fd67bac - data: edit dataset to explicitly set timestp and aggregation (commit by @ltrotter)
  • e21e559 - timestepping: add TimeWindow class (commit by @ltrotter)
  • 614fd54 - aggwindow: add summation and subtration between windows (commit by @ltrotter)
  • f942b06 - timewindow: add method to determin if windows are multiple of each other (commit by @ltrotter)

🐛 Bug Fixes

  • 973d807 - data: check typo on get_time_signature with timestep (commit by @ltrotter)
  • 3b03df2 - data: pass over timestep when updating dataset (commit by @ltrotter)
  • 97d323c - timeagg: reconfigure time steps with aggregation to make sure the classes are not modified (commit by @ltrotter)
  • 0378861 - timestep: fix typos in typestep definition in data (commit by @ltrotter)
  • 24f9bb7 - data: improve management of timeagg and timestep in dataset (commit by @ltrotter)

v2.0.1-alpha

11 Feb 13:48

Choose a tag to compare

v2.0.1-alpha Pre-release
Pre-release

✨ New Features

  • f00c503 - time: add aggregation information to timesteps (commit by @ltrotter)
  • c1bd7de - timestep: add factory to typesteo from unit (commit by @ltrotter)
  • 2c852a7 - timestepping: make agg_window also a class property via the metaclass (commit by @ltrotter)
  • fd67bac - data: edit dataset to explicitly set timestp and aggregation (commit by @ltrotter)
  • e21e559 - timestepping: add TimeWindow class (commit by @ltrotter)
  • 614fd54 - aggwindow: add summation and subtration between windows (commit by @ltrotter)
  • f942b06 - timewindow: add method to determin if windows are multiple of each other (commit by @ltrotter)

🐛 Bug Fixes

  • 973d807 - data: check typo on get_time_signature with timestep (commit by @ltrotter)
  • 3b03df2 - data: pass over timestep when updating dataset (commit by @ltrotter)
  • 97d323c - timeagg: reconfigure time steps with aggregation to make sure the classes are not modified (commit by @ltrotter)
  • 0378861 - timestep: fix typos in typestep definition in data (commit by @ltrotter)
  • 24f9bb7 - data: improve management of timeagg and timestep in dataset (commit by @ltrotter)

d3tools v2.0.0

10 Feb 14:26
0ad79c5

Choose a tag to compare

✨ New Features

  • 6711e61 - errors: add clear error for gdal import failure (commit by @ltrotter)
  • 959161e - parse: add function to format dictionary (useful for error messages) (commit by @ltrotter)
  • 8fcd359 - data: allow selection of nan value for dataset (commit by @ltrotter)

🐛 Bug Fixes

  • 35c5ded - setup: fix names of extras in pyproject file (commit by @ltrotter)
  • bdb9189 - data: fix metadata when saving files, order of priority (commit by @ltrotter)
  • 1124dbb - io: patch opening of jsons containing lists (commit by @ltrotter)
  • 1b39d66 - avoid circular imports on parse and options (commit by @ltrotter)
  • 0f002c1 - imports: only import dependencies when needed for extras (commit by @ltrotter)
  • e8c6446 - io: restructure data type checks to allow flexible imports (commit by @ltrotter)
  • 4e674bd - data: ensure prefix returns path also when single file exists (commit by @ltrotter)
  • 9ea645d - data: set return of time_signature to 0 or 1 if field is not in key_pattern (commit by @ltrotter)
  • ea0bf54 - data: ensure find_times works with 'end+1' time_signature and daily ts (commit by @ltrotter)
  • bd424f5 - setup: redirect pyproj to correct folder and fix global init file (commit by @ltrotter)
  • 481f220 - correct circular import in spatial (commit by @ltrotter)
  • 1b0fa70 - io: ensure gdp type is checked before pd as it is a subclass (commit by @ltrotter)
  • 9d73d21 - data: ensure available_keys are returned also without time (commit by @ltrotter)
  • b5d35bf - io: patch opening of jsons containing lists (commit by @ltrotter)
  • 34ab054 - errors: correct typo in init for import of GDAL_ImportError (commit by @ltrotter)
  • c48f9f1 - spatial: correct a few typos in spatial from carryover from door (commit by @ltrotter)
  • cd2ea61 - thumbnails: correct imports of functions from color (commit by @ltrotter)
  • 4ba4515 - data: ensure resetting the nan value does not change the data type (for CDI) (commit by @ltrotter)
  • ac29165 - spatial: ensure the correct crs is set from rasterio (commit by @ltrotter)
  • 88fdd61 - spatial: fix typo in crs getter (commit by @ltrotter)

♻️ Refactors

  • e4e7428 - major changes to make d3tools installable (commit by @ltrotter)
  • 10e5daa - space: change spatial to make tools installable (commit by @ltrotter)
  • 582e57c - setup: move package folder into src for setuptools discovery (commit by @ltrotter)
  • 6f9798a - space: add import of space_utils directly from spatial (commit by @ltrotter)

d3tools v1.3.10

20 Dec 14:56
da33ab5

Choose a tag to compare

✨ New Features

🐛 Bug Fixes

  • 846ce78 - thumbnails: fix annotations on thumbnail collections (commit by @ltrotter)

d3tools v1.3.9

04 Dec 13:50
6d7571c

Choose a tag to compare

✨ New Features

🐛 Bug Fixes

d3tools v1.3.8

15 Nov 08:24
c557895

Choose a tag to compare

🐛 Bug Fixes

  • 168a6f1 - thumbnails: ensure thumbnail_file is set even if thumbnail is all nans (commit by @ltrotter)
  • ed1da1e - thumbnails: ensure thumbnail collections work with missing thumbnails (commit by @ltrotter)
  • 1ee91bd - data: fix nan with integer data (commit by @ltrotter)