Skip to content

Add mask to improve minimum_duration parameter in hydrometric requests #47

@sebastienlanglois

Description

@sebastienlanglois

Setup Information

  • xdatasets version: 0.3.3
  • Python version:
  • Operating System:

Description

As of today, the minimum_duration parameter in hydrometric requests is based only on the time's metadata. This means that although a time series can start and end in a time period that is higher than the minimum_duration, it doesn't take into account missing values in between these dates.

Using a mask instead would make this parameter more accurate and more in line with what the user might except.

Steps To Reproduce

No response

Additional context

No response

Contribution

  • I would be willing/able to open a Pull Request to address this bug.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions