Skip to content

Commit

Permalink
format string error correction
Browse files Browse the repository at this point in the history
  • Loading branch information
cyschneck committed Dec 13, 2023
1 parent f8385fd commit d34a021
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ retrieveIDSByTime(year=None,
* [OPTIONAL] hour (int): Hour, from 0 to 23 in UTC, defaults to 0 when undefined
* [OPTIONAL] minute (int): Minute, from 0 to 59, defaults to check the all minutes when undefined
* [OPTIONAL] second (int): Second, from 0 to 59, defaults to check the all seconds when undefined
* [OPTIONAL] millisecond (int): Milliscond, from 0 to 999, defaults to check all milliseconds when undefined
* [OPTIONAL] millisecond (int): Millisecond, from 0 to 999, defaults to check all milliseconds when undefined

Where `2004 year, 300 doy, 15 hour, 30 minute, 7 second, 789 millisecond` becomes `2004-300T15:30:07.789`

Expand Down Expand Up @@ -678,6 +678,7 @@ COMING SOON: Extract metadata from .TAB file (using .FMT as a reference)

## Developer Notes TODO:
### TODO Code:
* Python3.8-3.12 support
* add a colored outline around a feature when displaying as a 2D image
* save image pixel to an array
* segments will be less than 99 (default to 1 - 01 is the primary imaging) (requires segment_options = ['S01', 'S02', 'S03', 'S04'])
Expand All @@ -689,7 +690,7 @@ COMING SOON: Extract metadata from .TAB file (using .FMT as a reference)
* associate burst ID from SBDR data to BIDR data for metadata
* save .IMG as an array of pixel values
* save .IMG as .SHP for ArcGIS
* project image onto Titan spheriod
* project image onto Titan spheroid
* downloadAdditionalDataTypes() does not have functionality (["ABDR", "ASUM", "LBDR", "STDR"]), decide which files to download

### TODO: Tech Debt
Expand Down
2 changes: 1 addition & 1 deletion pydar/updateCsvSwathCoverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def updateCsvSwathCoverage():
lbl = []
filename += '.LBL'
bidr_url = f"https://planetarydata.jpl.nasa.gov/img/data/cassini/cassini_orbiter/{radar_id}/DATA/BIDR/{filename}"
logger.info(f"Retrieving LBL information: {bidr_url}"))
logger.info(f"Retrieving LBL information: {bidr_url}")
lbl = [radar_id, None, None, None, None, None, None, None, None, None, None, None, None, None]
lbl[1] = pydar.convertObservationNumberToFlybyID(radar_id.split("_")[1])
lbl[2] = (filename.split("_")[2]).split("S")[1] # Segment Number
Expand Down

0 comments on commit d34a021

Please sign in to comment.