Replies: 2 comments 1 reply
-
Actually, while looking into this I may have found a bug in the new |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @robbibt
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @tsutterley, I'm finally looking into refactoring some of our pyTMD tide modelling code to try and minimise IO by loading consistuents one time at the beginning of an analysis, interpolating values from those loaded consistuents in parallel, then model tides from those interpolated constituents as a final step.
It looks like
model.read_constants
andmodel.interpolate_constants
are what I want, but I just wanted to check a few assumptions first:read_constants
andinterpolate_constants
in combination identical toextract_constants
? e.g. are the following two equivelent? (in the code I can see thatextract_constants
doesn't callread_constants
andinterpolate_constants
internally):read_constants
andinterpolate_constants
support the same overall params/functionality asextract_constants
? I'm particularly thinking for things likecrop
,bounds
etc - ideally I'd love to useread_constants
to read in cropped constituents for my study area, then use that cropped data for the interpolation viainterpolate_constants
to keep run times quick.Beta Was this translation helpful? Give feedback.
All reactions