GithubHelp home page GithubHelp logo

jpl-microwave-instrument-science / foam Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 12.08 MB

FOAM: The Forward Ocean Atmosphere Microwave radiative transfer model and mission simulator

License: Other

Python 49.95% Jupyter Notebook 50.03% Shell 0.02%
remote-sensing microwave-remote-sensing ocean-sciences salinity satellite-data simulator

foam's Introduction

FOAM

The Forward Ocean Atmosphere Microwave (FOAM) model is a radiative transfer model and mission simulator framework for microwave remote sensing of the ocean. It was designed in the context of sea surface salinity observations, but can also be used to simulate sea surface temperature and ocean vector wind measurements Full documentation can be found at https://foam.readthedocs.io.

Installation

FOAM can be installed (preferably in its own environment) using

pip install foam-rtm 

FOAM modules download ancillary data from OpenDAP servers hosted by DAACs and other sources. To use FOAM, the user must configure .netrc, .urs_cookies, and .dodsrc files in their home directories following the instructions at

https://disc.gsfc.nasa.gov/data-access

It is important to also authorize access to PODAAC, GESDISC, CDDIS, and NSIDC in the "Authorized Apps" section of your NASA Earthdata account.

Before use, FOAM needs to build a local cache. Make sure you have wget and gzip installed on your machine, and execute the following in a Python terminal

import foam.utils.config as config 
config.setup_cache()
config.get_ancillary_data()

This will setup the cache (.foam) in your home directory and download some ancillary data required to use FOAM offline.

Usage

Some examples of FOAM usage have been included in the package scripts/examples directory as Jupyter notebooks. Experiment with these notebooks to get an idea for how to use the software!

If you notice any issues with FOAM, please raise an issue through GitHub or e-mail Alex Akins at [email protected]

© 2022 Alex Akins, developed at Jet Propulsion Laboratory, California Institute of Technology License: Apache 2.0

foam's People

Contributors

abakins avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

helianglen xcjin

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.