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

trycatch() showing warning at end of pipeline #19

Open
1 task
msleckman opened this issue Aug 8, 2022 · 0 comments
Open
1 task

trycatch() showing warning at end of pipeline #19

msleckman opened this issue Aug 8, 2022 · 0 comments
Assignees
Labels
learn more request to dive deeper and explore process or feature

Comments

@msleckman
Copy link
Collaborator

msleckman commented Aug 8, 2022

trycatch() for target p1_nwis_sites returning the message pasted together underneath designated target.
e.g.

• built branch p1_nwis_sites_777dad85
• start branch p1_nwis_sites_db2a2fcc
Found invalid geometry, attempting to fix.
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
error - No gages found in huc8 16030009

But also get the warning that is baked into get_nwis() at end of target build which is not informative.

Warning messages:
1: No gages found in this AOI. 
2: No gages found in this AOI. 
3: No gages found in this AOI. 

First attempt to improve this found in my branch msleckman/saline_lakes/sw_pulls and to catch the warning.

  • Later update: to show huc8 ids without nwis sites at end of build as a summary such that this sort of message No gages found in huc8 16030009 appears at end.
@msleckman msleckman self-assigned this Dec 20, 2022
@msleckman msleckman added the learn more request to dive deeper and explore process or feature label Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
learn more request to dive deeper and explore process or feature
Projects
None yet
Development

No branches or pull requests

1 participant