Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed Dec 6, 2024
1 parent 863e0f7 commit ae13100
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/source/biascorr.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Still, many methods rely either on coordinates (e.g., deramping, along-track cor
# The first alphabetical notebook is "biascorr", so adding this trick here
import xdem
ref_dem = xdem.DEM(xdem.examples.get_path("longyearbyen_ref_dem"))
# Set current vertical CRS
ref_dem.set_vcrs("EGM96")
# Transform to a local reference system from https://cdn.proj.org/
trans_dem = ref_dem.to_vcrs("no_kv_arcgp-2006-sk.tif")
dem = xdem.DEM(xdem.examples.get_path("longyearbyen_ref_dem"))
# Define the vertical CRS as the 3D ellipsoid of the 2D CRS
dem.set_vcrs("Ellipsoid")
# Transform to the EGM96 geoid
dem.to_vcrs("EGM96")
```

## Quick use
Expand Down

0 comments on commit ae13100

Please sign in to comment.