Giter Site home page Giter Site logo

cxzhangqi / modis_sst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tsnow03/modis_sst

0.0 0.0 0.0 10.93 MB

Processing code for MODIS sea surface temperatures to estimate surface and subsurface ocean temperatures near Sermilik Fjord

Jupyter Notebook 99.99% Nix 0.01%

modis_sst's Introduction

MODIS_SST

Processing code for MODIS sea surface temperatures to estimate surface and subsurface ocean temperatures near Sermilik Fjord

Installation (nix)

The included polar.nix derivation will build an environment to execute the iPython notebook and dependencies. If you already have nix, just run "nix-shell polar.nix" from the directory with polar.nix.

If you don't have nix in your path, installation instructions are here*:

https://nixos.org/download.html

*because we can't have nice things, MacOS (Catalina) restricted all access to the root directory, so nix can't install to /nix. You can create an APFS volume that mounts at /nix. See instructions here:

https://dev.to/louy2/installing-nix-on-macos-catalina-2acb

Post install dependencies

There are two libraries that need to be installed manually by pip from within the nix-shell. The first is pyhdf, which is needed to open the MODIS files; it can be installed with:

pip install git+https://github.com/espg/pyhdf.git

The other library is pyorbital, which can similarly be installed with:

pip install git+https://github.com/espg/pyorbital.git

Note that both of these libraries are forked from the mainline repos and modified to work (pyhdf has a naming convention problem with the build libraries, and pyorbital is feature behind in terms of being able to parse TLE archives).

Notes

Please cite the paper below if you use this code and we highly recommend contacting the author ([email protected]) before using the code to ensure its reasonable application.

The MODISsstExtraction file samples MODIS SSTs from the MODIS 4 km products and produces a daily time series for each sampling region (Irminger Current, East Greenland Coastal Current, and the "Shelf Trough" along the bathymetric trough leading to Sermilik Fjord).

The MOD29 file creates the sea ice masks for the SSTs, which is used in the Extraction file.

MODIStimeseries file uses the extracted MODIS SSTs and processes them as described in:

Snow, T., Straneo, F., Holte, J., Grigsby, S., Abdalati, W., & Scambos, T.(accepted). More than skin deep: sea surface temperature as a means of inferring Atlantic Water variability on the southeast Greenland continental shelf near Helheim Glacier. Journal of Geophysical Research: Oceans. doi: https://www.essoar.org/doi/abs/10.1002/essoar.10503490.1

modis_sst's People

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.