Skip to content

Commit

Permalink
Fix typo in get_bnds
Browse files Browse the repository at this point in the history
  • Loading branch information
ks905383 authored Feb 13, 2024
1 parent c70c2e1 commit c306f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xagg/aux.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def get_bnds(ds,wrap_around_thresh='dynamic',
raise KeyError('"lat"/"lon" not found in [ds]. Make sure the '+
'geographic dimensions follow this naming convention (e.g., run `xa.fix_ds(ds)` before inputting.')

if ('lat_bnds' in ds) and (`lon_bnds` in ds):
if ('lat_bnds' in ds) and ('lon_bnds' in ds):
# `xa.fix_ds()` should rename bounds to `lat/lon_bnds`
# If bounds present, do nothing
return ds
Expand Down

0 comments on commit c306f10

Please sign in to comment.