-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update ndbc_stations.xml
after 7-character buoy ids are introduced in Aug/Sept 2023
#2631
Comments
ndbc_stations.xml
after 7-character buoy id's are introduced in Aug/Sept 2023ndbc_stations.xml
after 7-character buoy ids are introduced in Aug/Sept 2023
FYI, we could consider setting this script up to run via cron nightly on NCAR machines and posting the result to a public website, such as: |
We should also update the script used to update the buoy stations file to include a timestamp so it is clear when the file was last updated. Without this information it is difficult to know which version of the file should be used for a use case. The active stations file includes a "created" attribute at the top. If the script combines this file with other data, we could consider generating our own timestamp of when the script was run and include that instead. |
We should also add a log message to note which station file was used so we can tell if the
|
Recommend doing this work during the LAST beta development cycle. |
…ed to be periodically updated. Note that this is NOT an exhaustive list.
…I encountered when using the utility to inspect the diffs for this PR.
* Per #2631, regenerate ndbc_stations.xml for MET-12.0.0 on October 22, 2024. * Per #2631, add MET_BASE anchor * Per #2631, add a description of some of the static data files that need to be periodically updated. Note that this is NOT an exhaustive list. * Per #2631, consistent wording * Per #2631, subset by update frequency. * Per #2631, consistent wording. Fix typos. * Per #2631, fix typo and URL * Per #2631, fix masked array error in the get_precision(...) function I encountered when using the utility to inspect the diffs for this PR.
Describe the Task
The
ndbc_stations.xml
file is a static file defining (lat, lon) NDBC buoy locations. Unfortunately, the NDBC file format is not self-describing and ascii2nc performs a lookup from a static table file to retrieve the (lat, lon) location for each buoy based on its ID. The issue is that these locations change relatively frequently. For example, in the 18 days between July 10, 2023 and July 28, 2023, differences emerged for 30 of the 2626 lines in that file.The huge problem here is that NDBC buoy data can only be trusted if...
ndbc_stations.xml
locations file has been updated very recently.Processing "old" buoy data creates low confidence in the accuracy of the (lat, lon) locations.
This issue is to update the locations in that file after a relatively large change occurs in mid to late August 2023. Some of the stations ids will be modified from 5 characters to 7 characters. Since ascii2nc parses this data based on whitespace rather than using a fixed-width-format, no code changes should be required. But we should test with 7 character buoy ids to confirm they are processed as expected.
Please see this change description:
https://www.weather.gov/media/notification/pdf_2023_24/scn23-85_ndbc_web_file_format_change.pdf
Here are sample commands you can use to regenerate this file:
Please coordinate with [email protected] on these updates.
Time Estimate
2 hours.
Sub-Issues
Consider breaking the task down into sub-issues.
None needed.
Relevant Deadlines
Do this between mid-August and mid-September, 2023 after the changes have taken effect.
Funding Source
Define the source of funding and account keys here or state NONE.
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) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: