Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swift-earth-science/tropess-plots
Plotting data from TROPESS Level 2 products
https://github.com/swift-earth-science/tropess-plots
Last synced: 19 days ago
JSON representation
Plotting data from TROPESS Level 2 products
- Host: GitHub
- URL: https://github.com/swift-earth-science/tropess-plots
- Owner: swift-earth-science
- License: apache-2.0
- Created: 2023-05-23T16:54:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-25T23:57:53.000Z (over 1 year ago)
- Last Synced: 2024-11-10T07:09:28.998Z (3 months ago)
- Language: Python
- Size: 3.8 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# tropess-plots
Plotting data from TROPESS Level 2 products
[![DOI](https://zenodo.org/badge/644506221.svg)](https://zenodo.org/badge/latestdoi/644506221)
## Setup
See [Setup](./docs/setup.md)
## Data Access
See [Data Access](./docs/data-access.md)
## Browse products
Browse TROPESS products:
```bash
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:
```bash
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:
```bash
data_file=TROPESS_CrIS-JPSS1_L2_Summary_CH4_20230516_MUSES_R1p20_FS_F0p6.ncpushd ./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_guidepopd
```## Run
Configure the project:
```bash
source configure.sh
```
Run `main.py`:```bash
python3 main.py
```## Updating the code
```bash
source configure.sh
```Open the project directory in Visual Studio Code:
```bash
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](./examples/figure_scatter.png)
### Spacial interpolation (3 degrees distance)
![Methane Partial Column (pbbv) - interpolated plot](./examples/figure_ckdtree_3.0_degrees.png)
### Spacial interpolation (4 degrees distance)
![Methane Partial Column (pbbv) - interpolated plot](./examples/figure_ckdtree_4.0_degrees.png)
### Spacial interpolation (5 degrees distance)
![Methane Partial Column (pbbv) - interpolated plot](./examples/figure_ckdtree_5.0_degrees.png)
## 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](https://zenodo.org/badge/644506221.svg)](https://zenodo.org/badge/latestdoi/644506221)