Skip to content

Scripts to read and correct satellite atmospheric composition data with respect to various flags.

Notifications You must be signed in to change notification settings

pankajkarman/satellite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Scripts to read and correct satellite atmospheric composition data with respect to various flags.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published