Skip to content

Commit

Permalink
correct bug: not selection auto:region
Browse files Browse the repository at this point in the history
  • Loading branch information
blychs committed Oct 4, 2024
1 parent ce9db31 commit b960c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions melodies_monet/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1522,14 +1522,14 @@ def plotting(self):
f"{domain_type!r}. Soon, arbitrary rectangular boxes, US states and "
"others will be included."
)
else:
pairdf_all.query(domain_type + ' == ' + '"' + domain_name + '"', inplace=True)
pairdf = pairdf_all.loc[
(pairdf_all["latitude"] > bounds[0])
& (pairdf_all["longitude"] > bounds[1])
& (pairdf_all["latitude"] < bounds[2])
& (pairdf_all["longitude"] < bounds[3])
]
else:
pairdf_all.query(domain_type + ' == ' + '"' + domain_name + '"', inplace=True)

# Query with filter options
if 'filter_dict' in grp_dict['data_proc'] and 'filter_string' in grp_dict['data_proc']:
Expand Down

0 comments on commit b960c5d

Please sign in to comment.