Giter Club home page Giter Club logo

satellite's Introduction

Python scripts to read and correct satellite atmospheric composition data (both profile and column).

Implemented satellites inlcude:

Documentation

Latest documentation is available here.

Usage

from satellite import MLSProfile
from satellite import OMPSProfile
from satellite import GOMEColumn, GOME

for GOME2 Columns

filename = '/home/pankaj/arctic/GOME_O3-NO2-NO2Tropo-BrO-SO2-H2O-HCHO_L2_20200101001028_051_METOPA_68496_DLR_04.HDF5'

gcol = GOMEColumn(filename)
data = gcol.read(fields=['O3', 'NO2'])

field = 'O3'
spacing = 0.25
files = sorted(glob.glob('/home/pankaj/arctic/*METOP*.HDF5'), \
               key=lambda x:int(x.split('L2')[-1].split('_')[1]))
gome2 = GOME(files, field, spacing).resample('D')
fig, ax, cb, m = gome2.plot(scale=1, figsize=(14, 5.5))
plt.show()

GOME 2 NO2 Column (daily resampled mean of MetOpA, MetOpB and MetOpC)

for MLS Profiles

filename = '/media/pankaj/ext2/data/profile/clo/MLS-Aura_L2GP-ClO_v04-20-c01_2010d335.he5'
biasfile = '/home/pankaj/phd/code/satellite/satellite/MLS-Aura_ClO-BiasCorrection_v04.txt'

mls = MLSProfile(filename)
concentration, precision = mls.correct(biasfile=biasfile)

for OMPS Ozone profiles

filename = '/media/pankaj/ext2/data/profile/omps/OMPS-NPP_LP-L2-O3-DAILY_v2.5_2019m1201_2019m1202t142927.h5'
omps = OMPSProfile(filename2)
UVozone, UVozonePrecision, VisibleOzone, VisibleOzonePrecision = omps.correct(vmr=True)

satellite's People

Contributors

pankajkarman avatar

Stargazers

Andreas Motl avatar Huang Zeqin avatar Benjamin avatar  avatar

Watchers

Andreas Motl avatar James Cloos avatar  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.