boundary_conditions_ts - UK-FVCOM-Usergroup/uk-fvcom GitHub Wiki

Open boundary temperature and salinity

The majority of the instructions here rely on the FVCOM MATLAB toolbox (fvcom-toolbox).

Uniform temperature and salinity

  1. Read in an SMS mesh (read_sms_mesh).
  2. Extract open boundary nodes (add_obc_nodes_list), assigning a value of 1 to the ObcType in add_obc_nodes_list's arguments if no mean flow will be applied, otherwise select 2 for the ObcType. See mod_obcs.F for the ObcType options.
  3. Write a netCDF of uniform values using write_FVCOM_tsobc.

Spatially and temporally varying temperature and salinity

  1. Read in an SMS mesh (read_sms_mesh).
  2. Extract open boundary nodes (add_obc_nodes_list), assigning a value of 1 to the ObcType in add_obc_nodes_list's arguments if no mean flow will be applied, otherwise select 2 for the ObcType. See mod_obcs.F for the ObcType options.
  3. Read in the sigma coordinates (use read_sigma to load a sigma.dat file).
  4. Use get_HYCOM_forcing to download HYCOM global model temperature and salinity data via OPeNDAP and then get_HYCOM_tsobc to interpolate onto the open boundary nodes.
  5. Write a netCDF of the interpolated temperature and salinity values using write_FVCOM_tsobc.