File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1281,9 +1281,7 @@ def set_atmospheric_model( # pylint: disable=too-many-statements
12811281 _input_dict = (
12821282 dictionary .upper () if isinstance (dictionary , str ) else None
12831283 )
1284- _input_file = (
1285- file .upper () if isinstance (file , str ) else None
1286- )
1284+ _input_file = file .upper () if isinstance (file , str ) else None
12871285
12881286 # Validate format of user-supplied value (if any).
12891287 # When None, auto-detection runs after dictionary resolution.
@@ -1380,7 +1378,7 @@ def set_atmospheric_model( # pylint: disable=too-many-statements
13801378 self .process_ensemble (dataset , dictionary , conversion_factor )
13811379
13821380 ground_pressure = self .pressure (self .elevation )
1383- if not ( 30_000 <= ground_pressure <= 120_000 ) :
1381+ if not 30000 <= ground_pressure <= 120_000 :
13841382 if pressure_conversion_factor is None :
13851383 hint = (
13861384 "The unit was auto-detected from the file's pressure "
You can’t perform that action at this time.
0 commit comments