-
Notifications
You must be signed in to change notification settings - Fork 10
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
BRAT Version 3.1.00 is here! #294
Comments
I should note also, @tyler1218hatch and I have been testing the code all week on three different computers. I did a final run-through this morning on 2 computers, varying inputs across 4 watersheds. The only known problem is a geometry M-aware problem which only Tyler runs into once in awhile (see #293). I ran into a few minor bugs (i.e., typos, layers not being made, etc.), I corrected them and reran to test any changes. Long story short, the release has been tested and is fairly stable. |
Nope, I think that's everything! Let me know if you have any questions! |
@ctobalsk I can look into it further and troubleshoot. What version of ArcGIS are you using? Also, can you right-click on the BRAT toolbox, click check syntax, and then load a screenshot of the error it’s throwing? |
Thanks! I'm using 10.6. Here's the error I get: Traceback (most recent call last): |
@ctobalsk So the problem is that you're missing the |
Thanks Margaret, I'll work on this and keep you posted! |
Yep that did the trick, thanks for the help! |
All right, next problem - I already had it when running version 3.019 (but not for older versions such as 2.0): the BRAT Project Builder script bonks when trying to generate slope and hillshade, if I hashtag out the corresponding script lines it runs fine, otherwise I get this (see below). Something not right with my DEM format? Traceback (most recent call last): Traceback (most recent call last): |
Huh. I already posted about this previously... But it would be nice to know why the script isn't running as is. |
@ctobalsk I was unaware of this issue and have not run into the above error before, but can look into it more. Are you just loading a single *.tif file for you DEM? |
I'm using .img grids as inputs, that works fine except for the DEM for some reason. I'll try using a tif file and see if that works better. |
Ha! Looks like that did the trick. Thanks for the help Margaret! |
Ok, I have one last (hopefully) issue -- I can't seem to be able to run the layer Package Generator. Everything runs fine for a while, I can see the layers getting displayed at very fast speed (and with the proper color legend) in ArcGIS, then suddenly the whole thing crashes and I get this error message: Executing: Layer_Package_Generator_tool H:\BRAT\HUC4_BRAT\Arrow_Creek\Outputs\Output_01 # # Traceback (most recent call last): Failed to execute (Layer_Package_Generator_tool). |
Maggie,
Can you please help with this?
On Mon, Sep 9, 2019 at 3:14 PM Claudine Tobalske ***@***.***> wrote:
Ok, I have one last (hopefully) issue -- I can't seem to be able to run
the layer Package Generator. Everything runs fine for a while, I can see
the layers getting displayed at very fast speed (and with the proper color
legend) in ArcGIS, then suddenly the whole thing crashes and I get this
error message:
Executing: Layer_Package_Generator_tool
H:\BRAT\HUC4_BRAT\Arrow_Creek\Outputs\Output_01 # #
Start Time: Mon Sep 9 16:11:00 2019
Running script Layer_Package_Generator_tool...
Recreating missing layers (if possible)...
Assembling Layer Package...
Saving Layer Package...
Traceback (most recent call last):
File "", line 848, in execute
File "H:\BRAT\pyBRAT-3.1.00\Layer_Package_Generator.py", line 63, in main
inputs_folder, symbology_folder, layer_package_name, clipping_network)
File "H:\BRAT\pyBRAT-3.1.00\Layer_Package_Generator.py", line 664, in
make_layer_package
arcpy.PackageLayer_management(output_layer, layer_package)
File "c:\program files
(x86)\arcgis\desktop10.6\arcpy\arcpy\management.py", line 8658, in
PackageLayer
raise e
ExecuteError: ERROR 999999: Error executing function.
Missing raster band wavelength properties.
Missing raster band wavelength properties.
Missing raster band wavelength properties.
Failed to execute (PackageLayer).
Failed to execute (Layer_Package_Generator_tool).
Failed at Mon Sep 9 16:11:24 2019 (Elapsed Time: 24.52 seconds)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#294?email_source=notifications&email_token=AFHZAURESWTJUHLB4OHQ2EDQI3DDXA5CNFSM4IK2JBO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6JGLUA#issuecomment-529688016>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFHZAUWDW3F73BRH6QLW3RTQI3DDXANCNFSM4IK2JBOQ>
.
--
Sent from Gmail Mobile
Sorry for typos and brevity courtesy of my phone.
|
Up - Any suggestions as to why I'm getting these wavelength errors that prevent the generation of the layer package? |
Hi Claudine,
Sorry for the late reply. We’re in a position where we can’t work on this
until an agreement is in place with the BLM. According to Alden this will
be as early as October.
Once this comes though we will be able to very responsive to your requests.
Thanks,
On Mon, Sep 16, 2019 at 12:33 PM Claudine Tobalske ***@***.***> wrote:
Up - Any suggestions as to why I'm getting these wavelength errors that
prevent the generation of the layer package?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#294?email_source=notifications&email_token=AFHZAUSLNNDOPEZUGUGUPX3QJ7GPPA5CNFSM4IK2JBO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD62C2GQ#issuecomment-531901722>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFHZAUREBHPDSEPY5NNKU6DQJ7GPPANCNFSM4IK2JBOQ>
.
--
Sent from Gmail Mobile
Sorry for typos and brevity courtesy of my phone.
|
Sounds good Wally, keep me in the loop! Claudine |
Hi @KennyGIS, the "could not find relative path" error is usually thrown when the directory structure created in the BRAT Project tool is modified, or the inputs are not from within the project folder. If the project folder was modified, the easiest thing to do is rerun the BRAT project tool and create a new project folder. Then when running the BRAT table, double check that all your input files are nested within the project folder structure created by the BRAT project tool. For a single HUC8 watershed, the BRAT table typically takes between 20-30 minutes on a normal computer. |
That was it! Thank you for the help! I got it running today! |
@KennyGIS Glad to hear it! Feel free to open an issue/comment if you have other questions. Just be sure to tag my username so that I get a notification and can get back to you sooner. |
@mhallerud So, I was able to run the model for one watershed, however I am now having some other issues when I try to run it on another watershed. It is in the Comb_FIS step when trying to run the combined capacity model. I have re-run the entire model from the beginning a few times and I have gotten the same error. Any ideas? I know a column is missing, but I don't know why. |
@KennyGIS It looks like you're missing one of the iVeg_Hpe fields in particular. You can try re-running the Veg_FIS tool and if that doesn't work, maybe send me a screenshot or attachment of your BRAT table DBF file and I can look into it further. |
This was an announcement (prior to discussion boards) and turned into a tech support ticket. Resolved. |
Hi @mhallerud I'm late to the party but I'm hoping you can still help me. I'm using pyBRAT for a graduate project and I'm having trouble getting both toolboxes to open in ArcGIS. I'm using version 10.8.1 and the BRAT.pyt toolbox is opening but the BDWS.pyt toolbox is not. The BDWS.pyt error message is : Any ideas? |
Hi @julietsmith17, I no longer work with this lab (I moved onto graduate school myself), however I was never able to get the BDWS toolbox up and running. Unfortunately, it would take a bit of work to get it up again and compatible with the newest ArcGIS Desktop version. This should not interfere with pyBRAT though. If your project requires BDWS, I would reach out to [email protected]. It looks like they are now maintaining BRAT. |
Hey Margaret!
Thanks for responding even though you don't work here any more! And
congratulations on grad school!
That's great to hear that it won't interfere with pyBRAT. I'm not sure if I
need it because I don't know what it is? What does BDWS stand for?
And thank you for the additional contact info that's very helpful too!
Many thanks,
Juliet
…On Mon, Feb 27, 2023 at 2:46 PM Margaret Hallerud ***@***.***> wrote:
Hi @julietsmith17 <https://github.com/julietsmith17>, I no longer work
with this lab (I moved onto graduate school myself), however I was never
able to get the BDWS toolbox up and running. Unfortunately, it would take a
bit of work to get it up again and compatible with the newest ArcGIS
Desktop version. This should not interfere with pyBRAT though. If your
project requires BDWS, I would reach out to ***@***.***
It looks like they are now maintaining BRAT.
—
Reply to this email directly, view it on GitHub
<#294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6FIGIHGGPX5SUBDMBZH3ZTWZUOE3ANCNFSM4IK2JBOQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No problem! I worked on BRAT for ~2 years and like to see it being put to good use 🙂BDWS stands for Beaver Dam Water Storage, there's more info (as well as useful BRAT documentation) here<https://brat.riverscapes.net/Documentation/Tutorials/12-BDWS.html>.
Cheers,
Maggie
________________________________
From: julietsmith17 ***@***.***>
Sent: Monday, February 27, 2023 1:50 PM
To: Riverscapes/pyBRAT ***@***.***>
Cc: Hallerud, Margaret ***@***.***>; Mention ***@***.***>
Subject: Re: [Riverscapes/pyBRAT] BRAT Version 3.1.00 is here! (#294)
[This email originated from outside of OSU. Use caution with links and attachments.]
Hey Margaret!
Thanks for responding even though you don't work here any more! And
congratulations on grad school!
That's great to hear that it won't interfere with pyBRAT. I'm not sure if I
need it because I don't know what it is? What does BDWS stand for?
And thank you for the additional contact info that's very helpful too!
Many thanks,
Juliet
On Mon, Feb 27, 2023 at 2:46 PM Margaret Hallerud ***@***.***> wrote:
Hi @julietsmith17 <https://github.com/julietsmith17>, I no longer work
with this lab (I moved onto graduate school myself), however I was never
able to get the BDWS toolbox up and running. Unfortunately, it would take a
bit of work to get it up again and compatible with the newest ArcGIS
Desktop version. This should not interfere with pyBRAT though. If your
project requires BDWS, I would reach out to ***@***.***
It looks like they are now maintaining BRAT.
—
Reply to this email directly, view it on GitHub
<#294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6FIGIHGGPX5SUBDMBZH3ZTWZUOE3ANCNFSM4IK2JBOQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FRiverscapes%2FpyBRAT%2Fissues%2F294%23issuecomment-1447154794&data=05%7C01%7Cmargaret.hallerud%40oregonstate.edu%7C5b540eb837c5473d380408db190cb16b%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638131314528124897%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OCc%2Fwwyh8qURwNINCmbskzrBTgvH1YxkpHfFsroDTrI%3D&reserved=0>, or unsubscribe<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKOWG3DLMVGYCHC24FMI5DDWZUOTVANCNFSM4IK2JBOQ&data=05%7C01%7Cmargaret.hallerud%40oregonstate.edu%7C5b540eb837c5473d380408db190cb16b%7Cce6d05e13c5e4d6287a84c4a2713c113%7C0%7C0%7C638131314528124897%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DIPelRDZgVdIByHmH0qtPyYXRBuKNxQ%2FwIEv3bDtIMs%3D&reserved=0>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank you @mhallerud that's amazing, I really appreciate it and I'm so excited to start using it! |
@wally-mac @bangen @joewheaton
@tyler1218hatch and I have finally finished up doing a complete overhaul of BRAT and I just released the new version as 3.1.00. This issue is just to document the major improvements that are contained in this release. In order of the tools, these include:
Lastly, we have improved the website documentation to reflect these changes and updated all in-code documentation as fit, including @tyler1218hatch making all BRAT scripts PEP8 compliant.
@tyler1218hatch Am I missing anything?
The text was updated successfully, but these errors were encountered: