MITgcm / gcmfaces

gcmfaces is a Matlab / Octave toolbox that handles gridded earth variables in generic fashion. Read more at:
http://gcmfaces.readthedocs.io/en/latest/
MIT License
24 stars 21 forks source link

Flux conserving, bin average of 2-D field #7

Open dcarrollsci opened 5 years ago

dcarrollsci commented 5 years ago

Hi Gaël,

Does gcmfaces allow for flux conserving, bin averaging from LLC output to lon/lat grid? The application of this is bin averaging of ECCO-Darwin air-sea CO2 fluxes for various end users in the carbon community.

Thanks, Dustin

gaelforget commented 5 years ago

I do not know of anyone who might have implemented this type of regridding but would definitely be a very useful addition. Are you thinking about schemes that deal with c-grid vector fields (U,V,W) or more common "conservative interpolation" schemes?

menemenlis commented 5 years ago

It is for surface fluxes. Dustin and I are writing code for llc270 to 1-deg-grid bin-averaging. Happy to share when done.

gaelforget commented 5 years ago

Would be great. Here is what I would suggest:

Just like what we routinely do with MITgcm (see https://mitgcm.readthedocs.io/en/latest/contributing/contributing.html for detailed instructions if needed).

ok?

ps: could you please add, in this thread, the paper reference for the scheme you are looking at with Dustin.