Giter Club home page Giter Club logo

dm_floats's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.