Skip to content

Commit

Permalink
Update run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JethandHotman authored Jan 9, 2025
1 parent 333d239 commit 119d2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Latitude = [-45,-25]
Longitude = [15,35]
variables = ["analysed_sst"]
my_time = (datetime.now() - timedelta(2)).strftime('%Y-%m-%d')
my_time = (datetime.now() - timedelta(1)).strftime('%Y-%m-%d')
output_fname = 'OSTIA_SST_SA_' + my_time +'.nc'
#print('Date: ', my_time)

Expand Down Expand Up @@ -83,7 +83,7 @@
if os.path.exists(output_fname) == True:

print('Generating SST plot')
sst_data = xr.open_dataset(sst_data_file.filename,engine="h5netcdf")
sst_data = xr.open_dataset(sst_data_file.filename)
sst_data = sst_data.squeeze()

title = 'SST Map for: ' + my_time
Expand Down

0 comments on commit 119d2fa

Please sign in to comment.