Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

User/nnz/add teos10 #338

Closed
wants to merge 5 commits into from
Closed

User/nnz/add teos10 #338

wants to merge 5 commits into from

Conversation

nikizadehgfdl
Copy link
Contributor

Adding TEOS10 and NEMO equations of state

- Added TEOS10 GSW-Fortran as a pakage submodule
  https://github.com/TEOS-10/GSW-Fortran.git
- Added interfaces to use TEOS10 equation of state via
   #override EQN_OF_STATE = "TEOS10"
- Added links to a subset of GSW-Fortran modules to be compiled
  These are under src/equation_of_state/TEOS10
- Added a conversion from ptemp and salt to ctemp and ref. salinity
  after initialization in src/initialization/MOM_state_initialization.F90
- ocean_solo/ALE/z could run for 1 month using TEOS10.

- Still needs to be done
  - Convert ctemp to ptemp at the surface before use in flux calculations
  - Convert from ctemp,refsalt to ptemp,salt for diagnostics
  - Find out why conversion of salt to absolute salinity produces junk
  - Find out how much things change when converting to absolute salinity instead of to reference salinity
  - Find how to pass to and use land_mask in  TEOS10 functions instead of relying on salt<-1.0e33
- The approximate polynomials for density, alpha and beta were provided
  by Fabien Roquet in the form of a code snippet. He gave the reference
  Roquet, F., Madec, G., McDougall, T. J., and Barker, P. M., 2015.
  Accurate polynomial expressions for the density and specific volume of
  seawater using the TEOS-10 standard. Ocean Modelling, 90:29-43.

- The corresponding approximation for compressibility is lacking and
  it is calculated via a TEOS10 function call.
- The corresponding approximation for specvol deriverties is lacking and
  these are calculated explicitly using the density derivatives.
@nikizadehgfdl nikizadehgfdl self-assigned this Aug 9, 2016
@nikizadehgfdl
Copy link
Contributor Author

Newer updates are in user/nnz/add_NEMO . Closing.

@nikizadehgfdl nikizadehgfdl deleted the user/nnz/add_TEOS10 branch December 8, 2016 16:43
jiandewang pushed a commit to jiandewang/MOM6 that referenced this pull request Feb 18, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant