Skip to content

swift-earth-science/tropess-plots

Repository files navigation

tropess-plots

Plotting data from TROPESS Level 2 products

DOI

Setup

See Setup

Data Access

See Data Access

Browse products

Browse TROPESS products:

open https://disc.gsfc.nasa.gov/datasets?keywords=tropess

We will be using CrIS JPSS-1 Methane forward stream. To see all the available data for CrIS JPSS-1 Methane (CH4) go to the CrIS JPSS-1 Online Archive for CH4:

open https://tropess.gesdisc.eosdis.nasa.gov/data/TROPESS_Summary/TRPSYL2CH4CRS1FS.1

Download the sample data

For this exercise, download the TROPESS Summary Methane (CH4) product for May 16, 2023:

data_file=TROPESS_CrIS-JPSS1_L2_Summary_CH4_20230516_MUSES_R1p20_FS_F0p6.nc

pushd ./data

# download the data file
wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies \
     --auth-no-challenge=on --keep-session-cookies --content-disposition \
     https://tropess.gesdisc.eosdis.nasa.gov/data/TROPESS_Summary/TRPSYL2CH4CRS1FS.1/2023/$data_file

# download the user guide
user_guide=TROPESS-CH4_L2_Product_Quick_Start_User_Guide_Summary_only.pdf
wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies \
     --auth-no-challenge=on --keep-session-cookies --content-disposition \
https://docserver.gesdisc.eosdis.nasa.gov/public/project/TROPESS/User_Guides/$user_guide

popd     

Run

Configure the project:

source configure.sh

Run main.py:

python3 main.py

Updating the code

source configure.sh

Open the project directory in Visual Studio Code:

code .

Examples

Bias corrected column-averaged dry air mixing ratio of Methane for the column from 826 hPa to Top of Atmosphere (TOA) in ppbv.

The scatter plot is a direct plot of the data values.

The spacially interpolated plots use SciPy cKDTree with a maximum distance to preserve large areas where there is no data.

Scatter Plot

Methane Partial Column (pbbv) - scatter plot

Spacial interpolation (3 degrees distance)

Methane Partial Column (pbbv) - interpolated plot

Spacial interpolation (4 degrees distance)

Methane Partial Column (pbbv) - interpolated plot

Spacial interpolation (5 degrees distance)

Methane Partial Column (pbbv) - interpolated plot

Citing this software

If you use this software, please cite it as below:

Kantchev, V., Plotting data from TROPESS Level 2 products (2023), Swift Software Group DOI