Skip to content

Commit

Permalink
remove extra print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpm committed Mar 7, 2025
1 parent 4830a66 commit 5809cdb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/plotting/polar_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,11 @@ def polar_map(adfobj):
has_lev = False

if has_lev and pres_levs and plot.get('pressure'):
print("PRESSURE")
if not all(dim in mdata.dims for dim in ['lat', 'lev']):
continue
mdata = mdata.sel(lev=plot['pressure'])
odata_level = odata.sel(lev=plot['pressure'])
else:
print(f"EXPECT 2D VARIABLE: {odata.shape}")
if not pf.lat_lon_validate_dims(mdata):
continue

Expand Down

0 comments on commit 5809cdb

Please sign in to comment.