Skip to content

Commit

Permalink
Revert "loading ECCO v4r4 in zarr format " (#217)
Browse files Browse the repository at this point in the history
* Revert "loading ECCO v4r4 in zarr format  (#200)"

This reverts commit 8561d37.

* Update catalog_xarray.yaml

changes to catalog

* Update datasets_list.yaml

update ECCO_v4r4

* Update open_oceandataset.py

commented out the dropping of the k variable name

* Update datasets_list.yaml

reverting back to ECCO

* Update open_oceandataset.py

fixed the white space

Co-authored-by: Ali Hasan Siddiqui <43628137+asiddi24@users.noreply.github.com>
  • Loading branch information
malmans2 and asiddi24 authored Feb 14, 2022
1 parent 8561d37 commit 5edc932
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions oceanspy/open_oceandataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ def from_catalog(name, catalog_url=None):
if swap_dims is not None:
ds = ds.swap_dims(swap_dims)
# drop k dimension
ds = ds.drop_vars(["k_p1", "k_u", "k_l", "k"])

# ds = ds.drop_vars(["k_p1", "k_u", "k_l", "k"]) This needs fixing
# Fix Z dimensions (Zmd, ...)
default_Zs = ["Zp1", "Zu", "Zl", "Z"]
# Make sure they're sorted with decreasing letter number
Expand Down
11 changes: 6 additions & 5 deletions sciserver_catalogs/catalog_xarray.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -732,14 +732,14 @@ sources:
k_l: Zl
rename:
i: X
j: Y
i_g: Xp1
j: Y
j_g: Yp1
hFacC: HFacC
hFacW: HFacW
hFacS: HFacS
grid_coords:
add_midp: False
add_midp: True
grid_coords:
Y:
Y:
Expand Down Expand Up @@ -795,13 +795,13 @@ sources:
Y: tuple(((8, 'Y', False), (1, 'X', False)))
12:
X: tuple(((11, 'X', False), None))
Y: tuple(((9, 'Y', False), (0, 'X', False)))
Y: tuple(((9, 'Y', False), (0, 'X', False)))
parameters:
rSphere: 6.371e+03
eq_state: jmd95
rho0: 1027
g: 9.81
eps_nh: 0
eps_nh: 0
omega: 7.292123516990375e-05
c_p: 3.986e+03
tempFrz0: 9.01e-02
Expand Down Expand Up @@ -909,7 +909,8 @@ sources:
citation:
projection:
original_output: snapshot



# ======================================================================
# POP data (ocean only, CORE forcing)
grd_CORE_POP:
Expand Down
2 changes: 1 addition & 1 deletion sciserver_catalogs/datasets_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ datasets:
- KangerFjord
- HYCOM
- LLC4320
- ECCO_v4r4
- ECCO
- CORE
- HYBRID

0 comments on commit 5edc932

Please sign in to comment.