earthlab-education / Earth-Analytics-2023-01-Intro

For the Earth Analytics Bootcamp 2023 class at CU Boulder
https://earthlab-education.github.io/Earth-Analytics-2023-01-Intro/
MIT License
7 stars 2 forks source link

Adriannaluger [CODE] Time Series Data: Flood Return Periods #216

Closed github-actions[bot] closed 11 months ago

github-actions[bot] commented 1 year ago

To accept this assignment, click on the GitHub Classroom link

Please consult the video on how to complete the assignment as needed.

Once you have completed the assignment, reproduce the flood (frequency) analysis in a location and time of your choosing, and post your results to your portfolio. You can find instructions on how to do so in the wiki.

Adriannaluger commented 12 months ago

@nquarder Hi! I am having trouble I finished my html for my new location but for some reason after I commit and sync, when I go to actions it fails and says pages built and developed (red x). Can you help me with this?

nquarder commented 12 months ago

hmm.... first of all great job getting through this analysis @Adriannaluger!

I see your ny-timeseries.ipynb and the code looks good. I copied it over into my own codepace and got it to run just fine and when I output to html, commit, and sync, my actions say that it built okay.

Here's my final output using your code: https://nquarder.github.io/notebooks/ny-timeseries.html

I would suggest closing the codespace, re-opening it, and then restart, run-all and see if that helps with the crashing of the build/actions. I think we saw something like that w/ Jim on Weds during class and when we closed/restarted the codespace that seemed to solve it. Give that a try and let me know how it goes - and again great job getting through this analysis so quickly!! It looks good :)

-NQ

nquarder commented 12 months ago

and @Adriannaluger if that doesn't work try deleting the codespace and creating a new one. Your work is all saved so don't worry about losing anything! -NQ

Adriannaluger commented 12 months ago

Unfortunately, that still didnt work. I created a new codespace and deleted the previous one. Do you have any other recommendations (I cannot attend either of the office hours tomorrow)? Should we trouble shoot during class? Thanks for all your help. @nquarder

nquarder commented 12 months ago

what the heck!? that is super weird. do you have time today to meet and troubleshoot? I'm free anytime after 12p today @Adriannaluger ! - NQ

Adriannaluger commented 12 months ago

I have a short window from like 2:40 - 3:30 if that works?

nquarder commented 12 months ago

okay sounds good @Adriannaluger i'll send you a zoom - NQ

nquarder commented 12 months ago

One other thing I'm noticing is that your %%bash cell at the bottom of the notebook doesn't have the python colored/formatted code like I'm seeing in the other cells in your ipynb file. If you try adding a %%capture line at the top of that cell does that change the outcome?

%%capture
%%bash
jupyter nbconvert timeseries-ny.ipynb --to html --no-input
nquarder commented 12 months ago

Note that %%capture line suppresses the error message and i'm wondering if doing so might also override the error and help execute the html output? Try this when you get a second @Adriannaluger and LMK if that does anything. -NQ