Open ggebbie opened 1 year ago
Addressed Items 1-3 in my branch here
One issue with my solution is that it relies on the Field struct, which only accepts "tracer" fields of Array{T, 3}. Likely inefficient. Can we extend tracers to Array{T, N}?
thank you, @anthony-meza! I'm happy to make an update. Is this a change to be made in a dependency somewhere? What is the case with 4+ dimensional arrays? When time is added as a dimension?
@ggebbie The change to the Field struct would have to be made in TMI.jl. Yes, the case with 4D arrays arises when time is added as a dimension as in GH19.jl.
[x] extract timeseries at any grid point
using https://github.com/ggebbie/TMI.jl
Vector{}
: (can be Float32?)[x] extract timeseries at any location, nothing if land, interpolate to point if wet
[x] handle (-t)-z-y-x convention for 4D file contents
[ ] compute global ocean heat content using some TMI utilities
[ ] compute regional ocean heat content using masks/basin info, etc.
surfaceregion
https://github.com/ggebbie/TMI.jl/blob/9ef4ce01f89713a757b6e83ce7ea12f9c700f735/src/TMI.jl#L163[ ] transfer ocean heat content to heat convergence and effective planetary heat flux
[ ] ...