Skip to content

Commit 7b5feb9

Browse files
committed
New black grr
1 parent 201a322 commit 7b5feb9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

regional_mom6/regional_mom6.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,9 @@ def get_glorys_data(
238238

239239
file = open(Path(path / "get_glorys_data.sh"), "w")
240240

241-
lines.append(
242-
f"""
241+
lines.append(f"""
243242
copernicusmarine subset --dataset-id cmems_mod_glo_phy_my_0.083deg_P1D-m --variable so --variable thetao --variable uo --variable vo --variable zos --start-datetime {str(timerange[0]).replace(" ","T")} --end-datetime {str(timerange[1]).replace(" ","T")} --minimum-longitude {longitude_extent[0] - buffer} --maximum-longitude {longitude_extent[1] + buffer} --minimum-latitude {latitude_extent[0] - buffer} --maximum-latitude {latitude_extent[1] + buffer} --minimum-depth 0 --maximum-depth 6000 -o {str(path)} -f {segment_name}.nc\n
244-
"""
245-
)
243+
""")
246244
file.writelines(lines)
247245
file.close()
248246
return Path(path / "get_glorys_data.sh")

0 commit comments

Comments
 (0)