Skip to content

Matlab tools for creating OWC input files and writing D_files from OWC results

Notifications You must be signed in to change notification settings

euroargodev/dm_floats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dm_floats: prepare OWC input mat files and write netcdf D_files

Two matlab tools are provided here:

  • in /src/ow_source you will find routines for creating OWC software input file (i.e. .mat file in /float_source/) from the netcdf single-cycle core files.
  • in /src/create_dm_files you will find routines for writing core Argo D-files using salinity calibration from OWC software

In /lib you will find the libraries that are needed to run the codes:

  • The ITS-90 version of the CSIRO SEAWATER library: /lib/seawater_330_its90
  • the package libargo that contains routines to handle argo netcdf files : /lib/+libargo

How to use?

We will need to add the following paths to your matlab path:

addpath('/lib/')

addpath('/lib/seawater_330_its90/')

Prepare OWC input mat file

  • Go to /src/ow_source
  • Edit the config.txt file to set your paths
  • run create_float_source(float_name), e.g. create_float_source('4900139') will create the source file 4900139.mat for float 4900139
  • help create_float_source will give you more information on how to use this program.

Write netcdf Argo D_files

  • Go to /src/create_dm_files/
  • Edit the config.txt file to set your paths
  • run MAIN_write_dmqc_files(float_name), e.g. MAIN_write_dmqc_files('4900139') will create the netcdf Argo D-files for float 4900139 using salinity calibration from OWC software

Interactive dialog boxes are used to set:

  • default PSAL_ADJUSTED_QC flags
  • errors PSAL_ADJUSTED_ERROR
  • comments used to fill SCIENTIFIC_CALIBRATION_comment for PSAL User inputs are saved (paramlog) for each float and can be re-used later.

See readme_en.txt for more details

About

Matlab tools for creating OWC input files and writing D_files from OWC results

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published