bug fixes

This commit is contained in:
2021-06-19 15:08:08 +09:00
parent 0f83bc3345
commit 65d80b00ee
3 changed files with 7 additions and 7 deletions

View File

@ -63,7 +63,7 @@ print("Launch time: " + str(start_utc) + " (UTC)")
print("")
print("Reading ERA5-datasets, please wait.")
float_data = Dataset(ERA5_float, "r", format="NETCDF4")
float_data = Dataset(ERA5_float[0], "r", format="NETCDF4")
# ERA5 MULTI-LEVEL FLOAT (WIND + ATMOSPHERIC DATA DURING FLOAT)
@ -77,7 +77,7 @@ vw_x_float = da.from_array(float_data.variables['u']) # v_x in [m/s]
vw_y_float = da.from_array(float_data.variables['v']) # v_y in [m/s]
vw_z_float = da.from_array(float_data.variables['w']) # v_z in [m/s]
single_data = Dataset(ERA5_single, "r", format="NETCDF4")
single_data = Dataset(ERA5_single[0], "r", format="NETCDF4")
# ERA5 SINGLE-LEVEL (RADIATIVE ENVIRONMENT)
@ -102,7 +102,7 @@ ERAsp = single_data.variables['sp'][:] # surface pressure in [Pa]
single_data.close()
ascent_data = Dataset(ERA5_ascent, "r", format="NETCDF4")
ascent_data = Dataset(ERA5_ascent[0], "r", format="NETCDF4")
# ERA5 MULTI-LEVEL ASCENT (WIND + ATMOSPHERIC DATA DURING ASCENT)