Replies: 2 comments 1 reply
|
Actually, while looking into this I may have found a bug in the new |
0 replies
|
Hey @robbibt
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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_constantsandmodel.interpolate_constantsare what I want, but I just wanted to check a few assumptions first:read_constantsandinterpolate_constantsin combination identical toextract_constants? e.g. are the following two equivelent? (in the code I can see thatextract_constantsdoesn't callread_constantsandinterpolate_constantsinternally):read_constantsandinterpolate_constantssupport the same overall params/functionality asextract_constants? I'm particularly thinking for things likecrop,boundsetc - ideally I'd love to useread_constantsto read in cropped constituents for my study area, then use that cropped data for the interpolation viainterpolate_constantsto keep run times quick.All reactions