Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leonelluiscorado committed Mar 13, 2024
1 parent 0c708ac commit 19c00f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
*.gpkg*
*.shp*
*__pycache__*
*test*
*test*
*dev*
2 changes: 1 addition & 1 deletion gedi_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
parser.add_argument('--end', required=True, help='Start date for time period of interest: valid format is yyyy.mm.dd (e.g. 2021.07.01).')

parser.add_argument('--roi', required=True, help='Region of interest (ROI) to subset the GEDI orbit to in the output file. \
Valid inputs are a geojson or .shp file or bounding box coordinates: ul_lat,ul_lon,lr_lat,lr_lon')
Valid inputs are bounding box coordinates: ul_lat,ul_lon,lr_lat,lr_lon')

parser.add_argument('--beams', required=False, help='Specific beams to be included in the output file (default is all beams) \
BEAM0000,BEAM0001,BEAM0010,BEAM0011 are Coverage Beams. BEAM0101,BEAM0110,BEAM1000,BEAM1011 are Full Power Beams.', default=None)
Expand Down
1 change: 1 addition & 0 deletions pipeline/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class GEDIDownloader:

def __init__(self, persist_login=False, save_path=None):
self.save_path = save_path if save_path is not None else ""
print("Logging in EarthData...")
self.auth = earthaccess.login(persist=persist_login)
self.session = self.auth.get_session()

Expand Down

0 comments on commit 19c00f0

Please sign in to comment.