Skip to content

Commit

Permalink
a few more replacements of the module name - replace oco2_modis_visto…
Browse files Browse the repository at this point in the history
…ol with oco_vistool
  • Loading branch information
aronnem committed Jul 12, 2021
1 parent bcc70b6 commit 9b07d47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# oco2_modis_vistool.py
# oco_vistool.py

The purpose of this script is to pull different RGB images (depending on the user's choice from Encoding.csv) from Worldview using the NASA GIBS API and overlay various OCO-2 data fields for
case study analysis in support of OCO-2 cloud and aerosol screening validation.
Expand Down Expand Up @@ -37,7 +37,7 @@ It can also be called as a function from within another Python program for expan
Dockerfiles and docker-compose files to set up an appropriate Python 2.7 or Python 3.6 container are included in the repo

3) Test run from the command line
`python oco2_modis_vistool.py`
`python oco_vistool.py`


4) Look for the output PNG and HDF5 in the code directory
Expand Down Expand Up @@ -77,7 +77,7 @@ It can also be called as a function from within another Python program for expan
http://matplotlib.org/examples/color/named_colors.html

**oco2_overlay_info** (dict, default: none):
The information for the OCO-2 variable to overlay on the MODIS RGB.
The information for the OCO-2 variable to overlay on the Background image.
**{**
**file** (string):
This is *required* for a variable overlay.
Expand Down Expand Up @@ -155,16 +155,16 @@ layers (as of June 2021) into a separate CSV file. This relation CSV file is use
The parser used a copy of the wmts capabilities file which was downloaded into the code directory from: https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi?SERVICE=WMTS&REQUEST=GetCapabilities

Minimum command line call:
`python oco2_modis_vistool.py`
`python oco_vistool.py`


Minimum function call:
```
from oco2_modis_vistool import do_modis_overlay_plot
from oco_vistool import do_overlay_plot
do_modis_overlay_plot([lat_of_upper_lefthand_corner, lon_of_upper_lefthand_corner],
[lat_of_lower_righthand_corner, lon_of_lower_righthand_corner],
date, lat_data, lon_data, variable_data)
do_overlay_plot([lat_of_upper_lefthand_corner, lon_of_upper_lefthand_corner],
[lat_of_lower_righthand_corner, lon_of_lower_righthand_corner],
date, lat_data, lon_data, variable_data)
```

## A Note about Questions, Suggestions, and Issues
Expand Down
4 changes: 2 additions & 2 deletions satpy_overlay_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module implementing satpy based plots with OCO-2 data overlays.
intended to integrate with oco2_modis_vistool.py
intended to integrate with oco2_vistool.py
"""

import os.path, glob, datetime, collections, itertools
Expand All @@ -26,7 +26,7 @@
import netCDF4
import h5py

from oco2_modis_vistool import read_shp
from oco_vistool import read_shp

# to get the location of the city data (a subdir from where the
# code is located).
Expand Down

0 comments on commit 9b07d47

Please sign in to comment.