leombastos / 2024_ppa

1 stars 4 forks source link

get_ssurgo issues #33

Open dcurles12 opened 4 months ago

dcurles12 commented 4 months ago

I am having an issue with this code and have not been able to figure it out. If anyone can help that would be great!

Screenshot 2024-02-15 at 11 09 41 PM
KVUGA commented 4 months ago

Yes, The way I see it, and I think have resolved it is as follows: Here, you are using the exact same code that has been printed in class. The issue with it is that the geospatial data saved here is with respect to the field we have studied in the class. So, in the section of "ssurgo", we are unable to rewrite the new information of our latest fields. The way it could be resolved is that renaming it to something new such as "ssurgonew" in the lines after 118. This will help save the latest data in the "ssurgonew" as per your field. I hope it works.

leombastos commented 4 months ago

@dcurles12 what Kumar is saying could help. I also see on your code that you are missing a parenthesis in row 119 after as("Spatial". It should be as("Spatial").

leombastos commented 4 months ago

And you have an extra parenthesis in row 122. After you include the parenthesis in the correct place (row 119), you'll need to remove the extra one at the end (row 122).