nhm-usgs / prms

Precipitation Runoff Modeling System
7 stars 9 forks source link

put error codes in docs #24

Open dgketchum opened 2 years ago

dgketchum commented 2 years ago

After much grepping the source code, I found the error codes in src/prms/prms_constants.f90. Most error stops have informative messages, but I didn't get one for a CBHRU error. It will help future users if the error codes are in the docs in the future. Or are they already there and I can't find them?

rsregan commented 2 years ago

David, The stop codes are listed in the release notes in the section for version 5.2.0. I'll move them up into the FAQ section for the next release.

R. Steve Regan U.S. Geological Survey 303-236-5008 (office) PO Box 25046, MS 413 Bldg 53 Denver Federal Center Lakewood, CO 80225-0046 success is rarely about finding the right solution to a problem — it’s more about finding the right problem to solve


From: David Ketchum @.> Sent: Friday, April 22, 2022 2:00 PM To: nhm-usgs/prms @.> Cc: Subscribed @.***> Subject: [EXTERNAL] [nhm-usgs/prms] put error codes in docs (Issue #24)

This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

After much grepping the source code, I found the error codes in src/prms/prms_constants.f90. Most error stops have informative messages, but I didn't get one for a CBHRU error. It will help future users if the error codes are in the docs in the future. Or are they already there and I can't find them?

— Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnhm-usgs%2Fprms%2Fissues%2F24&data=05%7C01%7Crsregan%40usgs.gov%7Cea1512b65b8a46d857b108da249ae0ed%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637862544858837321%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EN6u0AfU6kf4yM6rRGkDUCAzCdpXbtBQ7Qw8rnSWxoU%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACLN2FPY3J4COJNTCN667RTVGMAO3ANCNFSM5UDH4L3A&data=05%7C01%7Crsregan%40usgs.gov%7Cea1512b65b8a46d857b108da249ae0ed%7C0693b5ba4b184d7b9341f32f400a5494%7C0%7C0%7C637862544858837321%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WRsQ%2BQfYmixbmzTP3dzKQHwRNEqMR7LyCDRxTVw0cUM%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>