Skip to content

Conversation

@doc78
Copy link
Collaborator

@doc78 doc78 commented Apr 30, 2024

  • New tool called catchstats used to compute catchment statistics. The tool can be used either from the command prompt or imported in a Python script:
    from lisfloodutilities.catchstats import catchment_statistics
  • Updates to ncextract tool, that now allows to read both NetCDF and GRIB files. The tool is now able to read input files whose coordinates are not named 'lat' or 'lon', as it was hard coded up until now. This was a problem because files in the Climate Data Store use the names 'latitude' and 'longitude'. Any coordinate name that starts with 'x', 'y', 'lat' or 'lon' will be recognised now.
    Code is now split in three functions: read_inputmaps, read_points and extract_timeseries. In this way, the function extract_timeseries can be imported an used in the pipeline of any Python script.
    from lisfloodutilities.ncextract import extract_timeseries
  • Updates to the README.md to improve the readability of some documentation.

casadoj and others added 30 commits March 25, 2024 11:08
…ns, so function "catchment_statistics" can be imported in a script to be used as convenient
…or NetCDF files whose coordinate names differ from "lat" and "lon"
@doc78 doc78 merged commit 506b693 into master May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants