James Tomlinson

Results 204 comments of James Tomlinson

We've got some `click` code now. Could we make that generic enough for a useful CLI?

Apologies that this is currently lacking. There is some WIP documentation in #652. The `InterpolatedVolumeParameter` is an example of a fairly simple parameter that uses current volume to compute a...

If you get stuck and can paste code here please do and I can help debug it. Otherwise come chat in our Gitter channel: https://gitter.im/pywr/pywr Thanks for the feedback!

@rheinheimer I think I prefer the JSON file definitions, but there are few cases of parameters that have been written without this support (i.e. a load method). The work in...

> As it's likely going to be model-wide it should probably accept a ConstantParameter, e.g. You can then optimise it!

Maybe we could use an approach to caching similar to this: https://github.com/vincetse/python-s3-cache/tree/master/s3cache NB this is using the old `boto` package so can't be used directly.

> I thought Pywr used pandas to read CSVs It does. @rheinheimer the redis cache is quite an interesting approach. Does this work well? I think a first implementation would...

Yeah, this is definitely a nice to have. I do wonder if the pre-fetch / caching is something that should be handled by some sort of intermediate library? Are there...

> However, the max_volume parameter does not seem to receive the usual timestep parameter Where are you looking for this? I can't see anything obvious that's different about max_volume in...