Skip to content

Commit

Permalink
Add new AIS vel, vel err, thk, topg data
Browse files Browse the repository at this point in the history
Addresses issues #4 and #6
  • Loading branch information
mkstratos committed Mar 19, 2020
1 parent 654271b commit 9472c4d
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 4 deletions.
57 changes: 54 additions & 3 deletions antarctica_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,53 @@
),
},
},
"Mouginot-InSAR": {
"file": Path(
DATA_ROOT,
"Mouginot-InSAR-450m-2019",
"antarctic_ice_vel_phase_map_v01.nc",
),
"load": ba.xr_load,
"vars": ["VX", "VY", "ERRX", "ERRY"],
"coords": {"x": "x", "y": "y"},
"meta": {
"VX": {
"long_name": "Ice velocity in x direction",
"standard_name": "land_ice_x_velocity",
"units": "meter year-1",
},
"VY": {
"long_name": "Ice velocity in y direction",
"standard_name": "land_ice_y_velocity",
"units": "meter year-1",
},
"ERRX": {
"long_name": "Ice velocity in x direction error",
"standard_name": "land_ice_x_velocity standard_error",
"units": "meter year-1",
},
"ERRY": {
"long_name": "Ice velocity in y direction error",
"standard_name": "land_ice_y_velocity standard_error",
"units": "meter year-1",
},
},
"cmeta": {
"source": (
"MEaSURES Antarctica Ice Velocity Map 450m spacing\n"
"https://nsidc.org/data/nsidc-0754/\n"
"Department of Earth System Science, University of California, "
"Irvine, CA, USA; Univ. Grenoble Alpes, CNRS, IRD, "
"Grenoble INP, IGE, 38000 Grenoble, France"
),
"reference": (
"Mouginot, J., E. Rignot, and B. Scheuchl. 2019. "
"Continent-wide, interferometric SAR phase-mapping of "
"Antarctic ice velocity, Geophysical Research Letters. "
"46. 9710-9718. https://doi.org/10.1029/2019GL083826"
),
},
},
"veloc": {
"vars": ["vx", "vy", "verr"],
"meta": {
Expand Down Expand Up @@ -434,14 +481,18 @@
("bheatflxerr", "heatflux_unc", "bheatflxerr"),
("subm", "rignot_subshelf", "melt_actual"),
("subm_ss", "rignot_subshelf", "melt_steadystate"),
("vx", "Mouginot-InSAR", "VX"),
("vy", "Mouginot-InSAR", "VY"),
("ex", "Mouginot-InSAR", "ERRX"),
("ey", "Mouginot-InSAR", "ERRY"),
]

# Add metadata for extant variables (copied from the original netCDF file)
ext_vars = [
("smb", "acab"),
("smb", "artm"),
# ("topg", "topg"),
("veloc", "verr"),
("veloc", "vx"),
("veloc", "vy"),
# ("veloc", "verr"),
# ("veloc", "vx"),
# ("veloc", "vy"),
]
2 changes: 1 addition & 1 deletion build_antarctica.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def output_setup(
nco.ncks(
input=str(input_file),
output=str(output_file),
options=["-x", "-v", "acab_alb,artm_alb,dzdt"],
options=["-x", "-v", "acab_alb,artm_alb,dzdt,verr"],
)
ds_base = xr.open_dataset(output_file).load()
else:
Expand Down

0 comments on commit 9472c4d

Please sign in to comment.