NCSU-CHAZ / Sunny-Day-Flooding

Student research related to the Sunny Day Flooding Project
MIT License
0 stars 0 forks source link

Re-plot results using Python #16

Open ththelen opened 2 years ago

ththelen commented 2 years ago

I am writing my plotting script in a Jupyter Notebook. Progress is tracked below

ththelen commented 2 years ago

First step: user provides simulation start time and date in UTC. Second step: user provides file path to text file output from pullT code. ADCIRC results text file converted to Pandas dataframe. Plotting notebook is designed to operate independently of pullT code that generates time series from ADCIRC output fort files.

Image

Third step: user provides info to initialize API request for NOAA data. Converted to dataframe. Currently set to work for WLs only, but could be adapted to wind.

Image

Future work:

ththelen commented 2 years ago

Freshly cleaned WL data plots from my new Jupyter Notebook. Tomas helped me improve my plotting script this morning. Note that the noise in the FIMAN data has been removed. The second snip show that this was accomplished by deleting FIMAN data from time periods with noise. Because most of the noise occurred outside tidal maxima and minima, this did not adversely affect our line plot representation of the signal.

Image

Image