Skip to content

SiqiLiOcean/HYCOM2FVCOM

Repository files navigation

HYCOM2FVCOM

Siqi Li, SMAST 2022-12-06

Use HYCOM dataset to run FVCOM case

Create initial TS file
Create nesting forcing file

The package including:

hycom2fvcom_download_hycom.sh
hycom2fvcom_iniTS_create.m
hycom2fvcom_nesting_select.m
hycom2fvcom_nesting_tide_TMD.m
hycom2fvcom_nesting_tide_user.m
hycom2fvcom_nesting_create.m

Required MATLAB toolbox

Required data

Ocean tide model data is required to extract the tide constituents.

  • Visit https://www.tpxo.net/global, and register there following 'HOW TO REGISTER'.
  • Write the 'load' file, containing three lines for the paths and names of the downloaded 'h_', 'u_', and 'grid_'. For example, ~/tools/TMD/DATA/h_tpxo9.v5a
    ~/tools/TMD/DATA/u_tpxo9.v5a
    ~/tools/TMD/DATA/grid_tpxo9.v5a
  • Set the 'load' file path and name to 'Model' in hycom2fvcom_nesting_extract_tide.m.

Codes

-------------------------- Initial TS file --------------------------------

  1. Create the intial TS file (hycom2fvcom_iniTS_create.m)

-------------------------- Nesting forcing --------------------------------

  1. Download HYCOM data (hycom2fvcom_download_hycom.sh) bash hycom2fvcom_download_hycom.sh OR download data manually:

    • Select the proper HYCOM dataset from https://www.hycom.org/dataserver, based on the region, resolution, and time period
    • Click the selected dataset, and then click 'ACCESS DATA HERE' on the top.
    • Click the right directory. For example:
  2. Set the nesting layers (hycom2fvcom_nesting_select.m) Select nesting nodes and cells based on the grid, obc, and the nesting layers

  3. Extract the tide harmonic components. There are two ways to create the tide components for the FVCOM nesting. One is to use TPXO dataset via TMD toolbox. The other is to use user-defined tide components.

  4. Write out the nesting forcing file (hycom2fvcom_nesting_create.m)

About

Use HYCOM dataset to run FVCOM case

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published