Closed ssolson closed 3 years ago
@huyquangt thank you for your interest in WDRT. I believe you are looking for the tool to calculate Hm0 and Te from historical wave spectral density data. Yes the WDRT does this for NDBC buoys. Please see example_envSampling. Specifically the part of interest is shown below:
This part of the code will fetch the historical wave spectral density data from the web and save Hm0/ Te.
# Sepcify NDBC buoy number
buoy46022 = ESSC.Buoy('46022', 'NDBC')
# Read data from ndbc.noaa.gov
buoy46022.fetchFromWeb()
Please see the rest of the example to see of this is used in the WDRT.
I would also suggest you check out MHKiT-Python. WDRT is being migrated to this repository. Currently, PR#62 includes an example calculating the 100-year contour by fetching data from NDBC.
Hi everyone, I am new to this toolbox, so please help with a question:
Is there any function/routine in WDRT that can read the full wave spectra to get Hs and wave energy period?
Thank you in advance,
Best Regards, Huy
Originally posted by @huyquangt in https://github.com/WEC-Sim/WDRT/issues/5#issuecomment-691772473