Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.79 KB

profiles.md

File metadata and controls

35 lines (26 loc) · 1.79 KB

PROFILES supporting materials

Lessons learned that remain undocumented:

  • When using a spherical polar grid, do NOT modify the PROFILES_SIZE.h NUM_INTERP_POINTS to a value under 4. Unfortunatley, profiles_init_fixed.F hard codes the number of interpolation points it interpolates from (see code)
  • prof_depth should be positive valued (enforce in preprocessing?)
  • Based on reading profiles_readparms.F there are only two fields the PROFILES packages reads, T and S

Write your PROFILE

pkg/profiles uses NetCDF files to organize data. The file has a special format, which we adhere to with an xarray DataSet. This dataset has dimensions:

  • iPROF : Number of unique observations
  • iDEPTH: Number of uqnique depth levels of each observation

Generic Grid Profile

Spherical Polar Profile

The table is a summary of what the dataset needs to include for a SphericalPolar grid:

field dimension description
prof_descr iPROF profile descriptions
prof_YYYYMMDD iPROF profile year-month-day datetime (int)
prof_HHMMSS iPROF profile hour-minute-second datetime (int)
prof_lon iPROF profile longitude
prof_lat iPROF profile latitude
prof_depth iDEPTH profile depths (+ve valued)
prof_[T,S] iPROF x iDEPTH observational data
prof_[T,S]weight iPROF x iDEPTH observational uncertainty
prof_[T,S]err iPROF x iDEPTH instrument error

^ adapted from Goldberg, M. 2024 Zoom Meeting