Generates a time series of wave parameters from the WaveWatchIII (WW3) (replicated from 'Wind' notebook)

Deal with 'grib' files

Load GRIB file

It is necessary the 'pygrib' package. I only could install it using the CONDA environment, so, when I need use it, I need to start the Jupyter by the Conda prompt!

And, reminding that to change the 'disk' by the prompt...

image.png

data downloaded from NCEP

https://www.ncei.noaa.gov/data/oceans/ncep/

Global data 'glo_30m'

https://www.youtube.com/watch?v=yLoudFv3hAY

https://www.luisalucchese.com/post/how-to-read-grib2-raster-python/

The data structure of the GRIB files have the results in 3-hours intervals for the model.
First it comes the U component, than comes the V component, and the number changes depending of the month!

The position of the ADCP and the meteorological station in the mesh

To find the nearest mesh point to the mooring... trying & error!

Changing the values of 'linha' (line) and 'coluna' (column) and changing the values of 'xlim' and 'ylim'

To generate the time series for the selected point

Takes time! It load each file to select the data

https://stackoverflow.com/questions/67729984/accessing-noaa-ftp-server-in-python