Skip to content
Snippets Groups Projects
Commit 5b7f73be authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 824b5624
Branches
No related tags found
No related merge requests found
......@@ -344,7 +344,7 @@ def get_time_interpolated_point_s(xr_dataset_s, time_s, fld_name_s, time, lons,
return intrp_pt
def get_time_interpolated_voxel(xr_dataset_s, time_s, time, fld_name, lon, lat, press, x_width=5, y_width=5, z_width=3, method='linear'):
def get_time_interpolated_voxel(xr_dataset_s, time_s, time, fld_name, lon, lat, press, x_width=3, y_width=3, z_width=3, method='linear'):
vox_s = []
for ds in xr_dataset_s:
vox = get_voxel(ds, fld_name, lon, lat, press, x_width=x_width, y_width=y_width, z_width=z_width)
......@@ -358,7 +358,7 @@ def get_time_interpolated_voxel(xr_dataset_s, time_s, time, fld_name, lon, lat,
return intrp_vox
def get_voxel(xr_dataset, fld_name, lon, lat, press, x_width=5, y_width=5, z_width=3):
def get_voxel(xr_dataset, fld_name, lon, lat, press, x_width=3, y_width=3, z_width=3):
if lon360:
if lon < 0:
lon += 360
......@@ -393,7 +393,7 @@ def get_voxel(xr_dataset, fld_name, lon, lat, press, x_width=5, y_width=5, z_wid
return sub_fld
def get_time_interpolated_voxel_s(xr_dataset_s, time_s, time, fld_name_s, lon, lat, press, x_width=5, y_width=5, z_width=3, method='linear'):
def get_time_interpolated_voxel_s(xr_dataset_s, time_s, time, fld_name_s, lon, lat, press, x_width=3, y_width=3, z_width=3, method='linear'):
vox_s = []
for ds in xr_dataset_s:
vox = get_voxel_s(ds, fld_name_s, lon, lat, press, x_width=x_width, y_width=y_width, z_width=z_width)
......@@ -407,7 +407,7 @@ def get_time_interpolated_voxel_s(xr_dataset_s, time_s, time, fld_name_s, lon, l
return intrp_vox
def get_voxel_s(xr_dataset, fld_name_s, lon, lat, press, x_width=5, y_width=5, z_width=3):
def get_voxel_s(xr_dataset, fld_name_s, lon, lat, press, x_width=3, y_width=3, z_width=3):
if lon360:
if lon < 0:
lon += 360
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment