pywr / hydra-pywr

GNU General Public License v3.0
1 stars 2 forks source link

Update exporter to reflect timestep changes in Pywr #10

Closed pmslavin closed 2 months ago

pmslavin commented 3 years ago

Master assumes timesteps can be represented as integers...

https://github.com/pywr/hydra-pywr/blob/4a55694c07960400381500a52650ced1cfbabe00/hydra_pywr/exporter.py#L235-L236

...but this is not always the case following https://github.com/pywr/pywr/pull/675.

Update the export routine to allow Pandas-style time offsets.