Skip to content

Commit

Permalink
Merge pull request #10228 from gem/no_conditioning
Browse files Browse the repository at this point in the history
ARISTOTLE: disable conditioning for users with level below 2
  • Loading branch information
ptormene authored Dec 18, 2024
2 parents 4882780 + f7f6b97 commit 9b4aa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openquake/hazardlib/shakemap/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def get_rup_dic(usgs_id, user, use_shakemap, rupture_file=None, station_data_fil
usgs_id, contents, user)
rupdic = convert_rup_data(rup_data, usgs_id, rupture_file, shakemap)

if not station_data_file:
if user.level == 2 and not station_data_file:
with monitor('Downloading stations'):
rupdic['station_data_file'], rupdic['station_data_issue'] = (
download_station_data_file(usgs_id, contents, user))
Expand Down

0 comments on commit 9b4aa54

Please sign in to comment.