Alternative ways to extract point time series from mHM output without adjusting idgauges grid. #58
pallavhydro
started this conversation in
Ideas
Replies: 1 comment
-
Thanks @pallavhydro for the suggestion. That is actually the method (with cdo) I use to extract the time series from the 'Fluxes_States' files, particularly when the files are so large to handle in R or Python (from 5-40Gb). I wonder if it would be good to write (by adding a few more Fortran code lines) these point series at the writing output data stage of the mHM as long as the list of points (coordinates) is given. Because, with this we may not need to write such big files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The 8th mHM user forum saw a request on alternative ways to extract point time series from mHM output without adjusting idgauges grid.
Background
mHM's inbuilt feature to extract point discharge simulation time series is based on
location
information fromidgauges grid
and using thegauge id
fromevaluation_gauges
section ofmhm.nml
.This feature has two constraints -
Solution
The alternatives to extracting point time series data from mHM output grid files would be -
One liner samples for extracting data at
Lat = 27.5 deg
andLon = 85.33 deg.
using CDO would be -An example output is as below.
soilmoisture_timeseries.txt
Note: CDO can be installed rather easily -
brew install cdo
.sudo apt-get install cdo
.A more comprehensive note on installation of CDO can be found in this page
Beta Was this translation helpful? Give feedback.
All reactions