Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read_variable_2d in horizontal remapping #14

Closed

Conversation

marshallward
Copy link

This patch extends the read_variable interface to include 2d array
support, in order to facilitate domainless I/O via netCDF calls.

This is far from the best implementation (e.g. read_variable_2d
introduces another broadcast alongside the original one in the
horizontal regridding) but it addresses the immediate issues with
MOM_read_data().

This patch extends the `read_variable` interface to include 2d array
support, in order to facilitate domainless I/O via netCDF calls.

This is far from the best implementation (e.g. read_variable_2d
introduces another `broadcast` alongside the original one in the
horizontal regridding) but it addresses the immediate issues with
`MOM_read_data()`.
@codecov-commenter
Copy link

Codecov Report

Merging #14 (051e8a4) into hor_regrid (221df78) will increase coverage by 0.00%.
The diff coverage is 58.33%.

Impacted file tree graph

@@             Coverage Diff             @@
##           hor_regrid      #14   +/-   ##
===========================================
  Coverage       29.21%   29.22%           
===========================================
  Files             239      239           
  Lines           71604    71625   +21     
===========================================
+ Hits            20918    20930   +12     
- Misses          50686    50695    +9     
Impacted Files Coverage Δ
src/framework/MOM_io.F90 33.09% <52.38%> (+0.53%) ⬆️
src/framework/MOM_horizontal_regridding.F90 35.11% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 221df78...051e8a4. Read the comment docs.

@marshallward
Copy link
Author

Matt, if you're OK with this PR then I can delete and re-fork my repository.

Not urgent though, just seeing if you had a chance to review.

@marshallward
Copy link
Author

marshallward commented Dec 21, 2021

As we discussed, I'll move this back to my repo and submit to NOAA-GFDL on your behalf.

@MJHarrison-GFDL
Copy link
Owner

Thanks for your help on this issue @marshallward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants