oceanmodeling / searvey

Sea state observational data retrieval
https://searvey.readthedocs.io/en/stable/
GNU General Public License v3.0
24 stars 11 forks source link

buoy data download within bounding box functionality #127

Open janahaddad opened 9 months ago

janahaddad commented 9 months ago

This was discussed at NOAA/CMMB Storm Surge Team tag-up as a future enhancement for searvey package.

@saeed-moghimi-noaa has a previously developed python script that can be used as a starting point. The script retrieves observational buoy data within a bounding box and parses it to CSV file.

saeed-moghimi-noaa commented 9 months ago

@yunfangsun Please see here: https://github.com/saeed-moghimi-noaa/prep_obs_ca

line 375

    write_csv(obs_dir, name, year, table=wnd_ocn_table, data= wnd_ocn , label='ndbc_wind' )
    write_csv(obs_dir, name, year, table=wav_ocn_table, data= wav_ocn , label='ndbc_wave' )
    write_csv(obs_dir, name, year, table=ssh_table    , data= ssh     , label='coops_ssh' )
    write_csv(obs_dir, name, year, table=wnd_obs_table, data= wnd_obs , label='coops_wind')