Skip to content

read_variable_2d in horizontal remapping#14

Closed
marshallward wants to merge 1 commit into
MJHarrison-GFDL:hor_regridfrom
marshallward:hor_regrid
Closed

read_variable_2d in horizontal remapping#14
marshallward wants to merge 1 commit into
MJHarrison-GFDL:hor_regridfrom
marshallward:hor_regrid

Conversation

@marshallward
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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