Code Monkey home page Code Monkey logo

fume's Introduction

Forel-Ule calculator

Calculates the Forel-Ule Index from surface reflectances Works with both point data (observations) and images (satellite).

Binder Click to run on the Binder Cloud. This will takes a few minutes as all the packages are installed on a computer far, far away.

Notebooks:

  • Test_FU - compares this implementation with the published formulae in Woerd and Wernand (2015)
  • Test_FU_images - Applies FU to test images
  • forel_ule_tutorial.ipynb - Step by step calculation, with formulae and references.
  • prep_test_images.ipynb - Utility to create test images included from full scenes downloaded from EUMETSAT or sci-hub.

Module fume

    calc_ForelUle_image(wavelength, reflectance, 
                        sensorcorr=None, 
                        cmf='data/FUI_CIE1931.tsv',
                        fucalibration='data/hue_angle_limits_WW2010.csv')
                        
    calc_fu_WW2015(wavelength, reflec,sensor)
        # calculates Forel Ule following Woerd and Wernand 2015 supplementary material. For point data only.
        
    forelulecmap()
        # Generates a colormap for plotting Forel Ule classes
        

Installation

Install in develop mode with:

git clone https://github.com/jobel-openscience/FUME.git
cd FUME
pip install -e . 

How to use the module

import fume

To use FUME WHW2013

fume.calc_ForelUle_image(wavelength, 
                         satRrs,
                         sensorcorr=None,
                         fucalibration='data/hue_angle_limits_WW2010_decimalFU.csv')

To use FUME WW2015

fume.calc_ForelUle_image(wavelength, 
                         satRrs,
                         sensorcorr=sensor,
                         fucalibration='data/hue_angle_limits_NWW2013.csv')

References

WW2010

Wernand, M. R., and van der Woerd, H. J. 2010. Spectral analysis of the Forel-Ule ocean colour comparator scale. Journal of the European Optical Society, 5.

WHW2013

M.R. Wernand, A. Hommersom, and H. J. van der Woerd, 2013. MERIS-based ocean colour classification with the discrete Forel–Ule scale. Ocean Science. doi:10.5194/os-9-477-2013

NWW2013

Novoa, S., Wernand, M. R., and Woerd, H. J. van der. 2013. The Forel-Ule scale revisited spectrally: preparation protocol, transmission measurements and chromaticity. Journal of the European Optical Society: Rapid Publications, 8: 13057. https://www.jeos.org/index.php/jeos_rp/article/view/13057.

WW2015

Hendrik J. van der Woerd and Marcel R. Wernand 2015. True Colour Classification of Natural Waters with Medium-Spectral Resolution Satellites: SeaWiFS, MODIS, MERIS and OLCI. Sensors, 15, 25663-25680.

fume's People

Contributors

jobel-openscience avatar tiagoams avatar geogradient 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.