Skip to content

Commit ed6fc51

Browse files
committed
Black
1 parent 8c72574 commit ed6fc51

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
@@ -125,11 +125,9 @@ def get_glorys_data(
125125

126126
file = open(Path(path / "get_glorys_data.sh"), "w")
127127

128-
lines.append(
129-
f"""
128+
lines.append(f"""
130129
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
131-
"""
132-
)
130+
""")
133131
file.writelines(lines)
134132
file.close()
135133
return Path(path / "get_glorys_data.sh")

0 commit comments

Comments
 (0)