Adapt NOAA Marine Vx python code into a MET python embedding script to serve up gridded data. #737
Closed
7 of 21 tasks
Labels
component: python wrapper
priority: high
High Priority
requestor: NOAA/EMC
NOAA Environmental Modeling Center
requestor: NOAA/other
NOAA Laboratory, not otherwise specified
type: task
An actionable item of work
Milestone
Describe the Task
On 12/17/20, DTC staff met with NOAA/EMC staff to discuss the transition of the existing EMC Marine Verification functionality into METplus. One major topic of conversation was the handling of Marine data in NetCDF4 format on a tri-polar grid. No existing NetCDF CF conventions exist for defining tri-polar grids in the metadata. Likewise tri-polar grids do not appear to be definable based on GRIB2 documentation.
So the prospects for supporting tri-polar grids directly in MET, as we do for other projection types (latlon, polar stereographic, mercator, lambert conformal), are slim.
Also be aware that the xesmf python package (https://pypi.org/project/xesmf/) can be used to pretty efficiently regrid tri-polar data to a standard grid.
This task is meant to be an initial first step for this project. Start by...
(1) Inspecting the existing Marine vx python functionality.
(2) Based on the Marine code, write a python-embedding script for MET to... read tri-polar data, call xesmf to regrid it to some standard grid, and serve up the result in memory for MET.
(3) Run this script via plot_data_plane to confirm that MET is reading the data correctly (oriented correctly at the right spot on earth).
After this initial step is done, consider if/how any of the Marine vx python functionality should be factored out of this script into a higher level spot in METplus. Also consider options to make it easy for the user to specify the target grid. For example, a latlon grid over the mid-latitudes is very useful, as well as a polar stereographic grid over the north pole.
Time Estimate
3 days(?)
Sub-Issues
Consider breaking the task down into sub-issues.
Relevant Deadlines
ASAP but by June 2021 at the latest
Funding Source
2788881 (updated)
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts.
Task Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s), Project(s), Milestone, and Linked issues
The text was updated successfully, but these errors were encountered: