-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Describe the Problem
This issue was raised via dtcenter/METplus#1530. MET version 10.1.0 was enhanced to read rotated lat/lon grids from CF-compliant NetCDF files in #1055. This comment illustrates that it appears to be successful in doing so. However that sample data was somewhat lacking since there is no obvious relationship between the data (lighting strikes) and the underlying map data. Testing using a more recent MetOffice sample file for a rotated lat/lon grid over the UK reveals a significant problem.
plot_data_plane prods_op_ukv_20220301_00_000.nc prods_op_ukv_20220301_00_000.ps 'name="surface_altitude"; level="(*,*)";'
There is a clear offset between the data (surface altitude in meters) and the map data.
This issue to find the source of this discrepancy and fix it. Recommend also retrieving examples of other rotated lat/lon grid from the MetOffice and testing to confirm that the data is aligned correctly relative to the map data.
Expected Behavior
Plotting the surface altitude data for this grid should align correctly with the map data of the UK.
Environment
Describe your runtime environment:
1. Machine: tested on MacOS but not machine-specific
2. Software version number(s): MET version 10.1.0. Fix in the main_v10.1 and develop branches.
To Reproduce
Describe the steps to reproduce the behavior:
1. Run the following plot_data_plane command:
plot_data_plane prods_op_ukv_20220301_00_000.nc prods_op_ukv_20220301_00_000.ps 'name="surface_altitude"; level="(*,*)";'
Note the discrepancy between the data and map outlines.
Relevant Deadlines
Fix ASAP in version 10.1.1.
Funding Source
MetOffice account key?
Define the Metadata
Assignee
- Select engineer(s) or no engineer required: @JohnHalleyGotway
- Select scientist(s) or no scientist required: @robdarvell
Labels
- Select component(s)
- Select priority
- Select requestor(s)
Projects and Milestone
- Select Organization level Project for support of the current coordinated release
- Select Repository level Project for development toward the next official release or add alert: NEED PROJECT ASSIGNMENT label
- Select Milestone as the next bugfix version
Define Related Issue(s)
Consider the impact to the other METplus components.
Bugfix Checklist
See the METplus Workflow for details.
- Complete the issue definition above, including the Time Estimate and Funding Source.
- Fork this repository or create a branch of main_<Version>.
Branch name:bugfix_<Issue Number>_main_<Version>_<Description>
- Fix the bug and test your changes.
- Add/update log messages for easier debugging.
- Add/update unit tests.
- Add/update documentation.
- Push local changes to GitHub.
- Submit a pull request to merge into main_<Version>.
Pull request:bugfix <Issue Number> main_<Version> <Description>
- Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Linked issues
Select: Organization level software support Project for the current coordinated release
Select: Milestone as the next bugfix version - Iterate until the reviewer(s) accept and merge your changes.
- Delete your fork or branch.
- Complete the steps above to fix the bug on the develop branch.
Branch name:bugfix_<Issue Number>_develop_<Description>
Pull request:bugfix <Issue Number> develop <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version - Close this issue.