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

Added properties based on NWS documentation #96

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

leosperry
Copy link

I went to NWS documentation and found a few more properties that some may find useful, especially the Urgency property.

The documentation I referenced is here:
https://www.weather.gov/documentation/services-web-api#/default/alerts_active_zone

I have tested the changes locally and have even incorporated them into my system using HaKafkaNet of which I am the author.

@rct
Copy link

rct commented Nov 14, 2024

Looks like this patch deletes instruction is that intentional?

(You didn't mention removing any properties)

tmp_dict["Onset"] = alert["properties"]["onset"]
tmp_dict["Expires"] = alert["properties"]["expires"]
tmp_dict["Ends"] = alert["properties"]["ends"]
tmp_dict["AreasAffected"] = alert["properties"]["areaDesc"]
tmp_dict["Description"] = alert["properties"]["description"]
tmp_dict["Instruction"] = alert["properties"]["instruction"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This property got deleted. Was it intentional?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a mistake. I've been out of pocket for a while.

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.

2 participants