Hi,
Not sure if I'm interpreting correctly what you want.
If you just want the time-series of a state- or result-variable for a certain cell, then just access the cells via
cells = simulator.region_model.cells
This returns a list-like object with each cell of the simulation.
Then you can access a cetain cell, e.g.
cell = cells[129]
Each cell has a geo-location:
cell.mid_point().x
cell.mid_point().y
cell.mid_point().z
If you search for a cell closes to you measurements, just loop over the cells and find the cell with the closest geo-location to you measurment location.
When you found your cell, you can access the state and result
variables of that cell (here shown for SWE in the
response-collector "rc") via the response and the state
collectors:
swe = cell.rc.snow_swe.v.to_numpy()
Is that what you mean?
Best,
Felix
--
You received this message because you are subscribed to the Google Groups "shyft" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shyft+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shyft/14e7f868-03f4-4533-8eec-d3d784c34640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.