Skip to content

cabanesc/DM_FLOATS

Repository files navigation

DM_FLOATS

DM_FLOATS is a tool that can be used to analyse and correct Argo salinity data in delayed mode.

Target users : experts/DM operators

Features:

  • GUI to view Argo profiles and interactively change the value of the quality flags (corrected flags are reported in netcdf files)
  • Program that plots several diagnostic figures (theta/S, PSAL, TEMP, SIG0 sections, float trajectory).
  • Programs that analyze and correct the CPcor for deep Argo floats.
  • Program that compares an Argo profile with the closest reference profiles.
  • Program that compares an Argo profile with the reference profile made at the float launch.
  • Program that analyzes and calculates the salinity correction (owc)
  • Program that writes DM files with adjusted values. Files are ready to be submitted to the DAC.
  • Programs that verify the adjusted values
  • Programs that produce a report template

Matlab requiered version: >= 2020b

How to install ?

  1. Clone the DM_FLOATS repo : git clone https://github.com/cabanesc/DM_FLOATS.git => {REP_CODES}/DM_FLOATS

  2. Add the toolbox m_map1.4m in {REP_CODES}/DM_FLOATS/lib/ ; Change PATHNAME in m_etopo2.m l.47 (path to ETOPO2v2g_i2_MSB.bin)

  3. Dowload owc https://github.com/ArgoDMQC/matlab_owc/releases/tag/v3.0.0 => {REP_CODES}/OWC/matlab_owc-3.0.0

  4. Download the last CTD reference database and the last ARGO reference database => {REP_CODES}/OWC/matlab_ow-3.0.0/data/climatology/argo_profiles/ => {REP_CODES}/OWC/matlab_ow-3.0.0/data/climatology/historical_ctd/

  5. Run {REP_CODES}/DM_FLOATS/LPO_CODES_ATLN_NEW/genere_wmoboxes_matfile.m to generate {REP_CODES}/OWC/matlab_ow-3.0.0/data/constants/wmo_boxes_ctd.mat, wmo_boxes_argo.mat and wmo_boxes_ctdandargo.mat

  6. Download a recent DOI of the full ARGO GDAC (needed to find nearby floats) http://www.argodatamgt.org/Access-to-data/Argo-DOI-Digital-Object-Identifier => {REP_DATA}/ARGO_DOI/

  7. Download the netcdf files of the float that is processed in Delayed Mode from the GDAC ftp server =>{REP_DATA}/FTP_ORIG/ ex: wget -r --user="anonymous" --password="your.email@institute.fr" ftp://ftp.ifremer.fr/ifremer/coriolis/argo/dac/coriolis/6901762/

  8. Create a repository where you will store the netcdf files with intermediate corrections (FLAGS, CPCOR) => {REP_DATA}/FTP_MODIF/

  9. Create a repository where you will store the netcdf files with the final DM correction (OWC adjustements) => {REP_DATA}/DM_FILES/

  10. Create a repository where you will store plots from the various programs => {REP_DATA}/PLOTS/

  11. Create a repository where you will store input/ouptut data from OWC (source, calib, mapped ,plot) => {REP_DATA}/data/

  12. Download two topo files used for plots : topo.onetenthdeg.nc and topo.onedeg.nc => {REP_DATA}/TOPO/

  13. If a launch CTD is available, mat file can be put here => {REP_DATA}/CAMPAIGN/

  14. You will need pdflatex to create reports. As an alternative, it is possible to compile .tex online : overleaf https://fr.overleaf.com/

  15. Copy config_template.txt to config.txt. Modify config.txt

  16. Copy init_path_template.m to init_path.m. Modify init_path.m if necessary

  17. Copy Main_core_template.m to Main_core.m.

  18. Modify rdir in MAIN_core.m. Use Main_core.m to run Delayed Mode analysis on your 0-2000m floats.

  19. Copy Main_deep_template.m to Main_deep.m.

  20. Modify rdir in MAIN_deep.m. Use Main_deep.m to run Delayed Mode analysis on your deep floats.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors