Skip to content

Commit

Permalink
fixup example
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Jan 10, 2025
1 parent f8923fb commit f1f972f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/remote/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# NEXRAD Level 2

# Get the nearest product to a time
prod = NEXRADLevel2Archive().get_nearest('KTLX', datetime(2013, 5, 22, 21, 53))
prod = NEXRADLevel2Archive().get_product('KTLX', datetime(2013, 5, 22, 21, 53))

# Open using MetPy's Level2File class
l2 = prod.parse()
Expand All @@ -32,7 +32,7 @@

################
#GOES Archives
prod = GOESArchive(16).get_nearest('ABI-L1b-RadC', datetime.now(UTC), band=2)
prod = GOESArchive(16).get_product('ABI-L1b-RadC', datetime.now(UTC), band=2)

# Retrieve using xarray + netcdf-c's S3 support
nc = prod.parse()

0 comments on commit f1f972f

Please sign in to comment.