Code Monkey home page Code Monkey logo

isus-suna-reprocessing's Introduction

Spectrophotometric Nitrate Detection using the ISUS/SUNA detector family

For my own research I wrote a software package that handles reading, integration and reprocessing data from the ISUS/SUNA family of nitrate sensors with CTD temperature and salinity data. Much of it is really just data handling (such as e.g. aligning temperature/salinity profiles with nitrate profiles). This isn’t strictly relevant to the reprocessing itself - especially if you have exactly synchronous timestamps because of e.g. telemetry, in which case you only need to consider accounting for whether sensors are pumped or not. In fact, synchronicity within a second or two is usually enough for vertical profiles; for horizontal transects (such as on ROVs), or on moored timeseries, one could probably allow even more. It all depends on how steep the gradients are.

I entirely switched to Python (and never looked back) soon after completing my PhD, and hence was never motivated to turn this piece of Matlab code into robust software beyond development status that could be used by others without knowing about the details. But due to repeated requests I'm making the essential bits of the processing code available here - be aware though that your mileage may vary. If you have a lot of vertical profiles of ISUS/SUNA data and don't want to start from scratch (and for some reason feel like using Matlab...), send me a mail and I may be able to help you.

The centerpiece of the reprocessing, i.e. Sakamoto et al.'s algorithm (2009), is implemented in the file ISUS_REPROCESSOR_v2_2.m. You can also find an example of a ISUS/SUNA calibration file, and how to translate it into a .mat file that the reprocessing algorithm understands. The inputs to the ISUS_REPROCESSOR_v2_2.m function are:

  • CHANNEL: the absorption data, one value per channel per sample,
  • CHANNEL_DF: the dark frames as measured in the same ISUS data file,
  • in-situ temperature T,
  • salinity S, and
  • a string calfile that supplies the name of the calibration .mat file. The last argument progressbarflag is not important when using this function as a standalone.

You can find more detail on the accuracy of the processing and algorithm in our 2016 paper:

Randelhoff, A., Fer, I., Sundfjord, A., Tremblay, J.-É., & Reigstad, M. (2016). Vertical Fluxes of Nitrate in the Seasonal Nitracline of the Atlantic Sector of the Arctic Ocean. Journal of Geophysical Research: Oceans, 121(7), 5282–5295. https://doi.org/10.1002/2016JC011779,

(also available under this link) and on my webpage.

isus-suna-reprocessing's People

Contributors

poplarshift avatar

Watchers

 avatar

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.