Skip to content

Commit

Permalink
Fix arctic_control not opening (hainegroup#396)
Browse files Browse the repository at this point in the history
* first time the charm

* cleaned up redundant part
  • Loading branch information
MaceKuailv authored Oct 26, 2023
1 parent 56f60dc commit 854baac
Showing 1 changed file with 65 additions and 87 deletions.
152 changes: 65 additions & 87 deletions sciserver_catalogs/catalog_xarray.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -554,93 +554,6 @@ sources:
T: time
original_output: average

# ===========================
# Arctic Control
grd_Arctic_Control:
description: Grid of Arctic Control
driver: netcdf
model: MITGCM
args:
# urlpath: /sciserver/oceanography/exp_Arctic_Control/GRID/grid_glued_swapped.nc
urlpath: /home/idies/workspace/OceanCirculation/exp_Arctic_Control/GRID/grid_glued_swapped.nc
xarray_kwargs:
engine: netcdf4
drop_variables: ['RC', 'RF', 'RU', 'RL']
metadata:
manipulate_coords:
coordsUVfromG: true
grid_coords:
add_midp: true
grid_coords:
Y:
Y:
Yp1: 0.5
X:
X:
Xp1: 0.5
Z:
Z:
Zp1: 0.5
Zu: 0.5
Zl: -0.5
time:
time: -0.5
shift_averages:
averageList:
parameters:
rSphere: 6.371e+03
eq_state: jmd95
rho0: 1027
g: 9.81
eps_nh: 0
omega: 7.292123516990373e-05
c_p: 3.986e+03
tempFrz0: 9.01e-02
dTempFrz_dS: -5.75e-02
grid_type: 'spherical'
# grid_type: spherical
name: Arctic_Control
description: |
Curvilinear grid test. Setup by Dr. Renske Gelderloos.
projection: NorthPolarStereo

fld_Arctic_Control:
description: Average fields of Arctic_Control
driver: netcdf
model: MITGCM
args:
# urlpath: /sciserver/oceanography/exp_Arctic_Control/days*/DIAGS/*.nc
urlpath: /home/idies/workspace/OceanCirculation/exp_Arctic_Control/days*/DIAGS/*.nc
xarray_kwargs:
engine: netcdf4
concat_dim: T
parallel: true
combine: nested
drop_variables: ['diag_levels', 'iter', 'SIGMA0']
metadata:
rename:
T: time
THETA: Temp
original_output: average

state_Arctic_Control:
description: State variables of Arctic_Control
driver: netcdf
model: MITGCM
args:
# urlpath: /sciserver/oceanography/exp_Arctic_Control/days*/STATE/*.nc
urlpath: /home/idies/workspace/OceanCirculation/exp_Arctic_Control/days*/STATE/*.nc
xarray_kwargs:
engine: netcdf4
concat_dim: T
parallel: true
combine: nested
metadata:
rename:
T: time
original_output: snapshot


LLC4320_flds:
description: 10 day sample of hourly data from the LLC4320 simulation
driver: zarr
Expand Down Expand Up @@ -1056,3 +969,68 @@ sources:
citation: 10.25921/fd45-gt74.
projection: PlateCarree
original_output: snapshot

# ===========================
# Arctic Control
grd_Arctic_Control:
description: Grid of Arctic Control
driver: netcdf
model: MITGCM
args:
# urlpath: /sciserver/oceanography/exp_Arctic_Control/GRID/grid_glued_swapped.nc
urlpath: /home/idies/workspace/OceanCirculation/exp_Arctic_Control/GRID/grid_glued_swapped.nc
xarray_kwargs:
engine: netcdf4
drop_variables: ['RC', 'RF', 'RU', 'RL']
metadata:
manipulate_coords:
coordsUVfromG: true
grid_coords:
add_midp: true
grid_coords:
Y:
Y:
Yp1: 0.5
X:
X:
Xp1: 0.5
Z:
Z:
Zp1: 0.5
Zu: 0.5
Zl: -0.5
time:
time: -0.5
shift_averages:
averageList:
parameters:
rSphere: 6.371e+03
eq_state: jmd95
rho0: 1027
g: 9.81
eps_nh: 0
omega: 7.292123516990373e-05
c_p: 3.986e+03
tempFrz0: 9.01e-02
dTempFrz_dS: -5.75e-02
grid_type: 'spherical'
# grid_type: spherical
name: Arctic_Control
description: |
Curvilinear grid test. Setup by Dr. Renske Gelderloos.
projection: NorthPolarStereo

Arctic_Control_content:
description: Arctic Control
driver: zarr
model: MITGCM
args:
urlpath: '/home/idies/workspace/poseidon/data10_02/arctic_control.zarr'
xarray_kwargs:
engine: zarr
metadata:
rename:
T: time
# THETA: Temp
manipulate_coords:
coordsUVfromG: true

0 comments on commit 854baac

Please sign in to comment.