-
Notifications
You must be signed in to change notification settings - Fork 22
Q&A
Guillaume Jouvet edited this page Nov 19, 2023
·
4 revisions
- Ice is stuck on the border of the domain (no fluxes), what can I do?
Set parameter exclude_borders_from_iceflow to True
- I see some numerical artifacts (e.g. waves) occurring when modeling glacier evolution, what can I do?
Reduce the CFL parameter
- How to create/modify NetCDF files?
There are many ways to prepare NetCDF files (matlab, python, GIS tools, ...). The NCO toolkit permits easy operations in command lines, e.g.
ncks -x -v thk file.nc file.nc # this removes the variable 'thk' from file.nc
ncks -v usurf file.nc file.nc # this extracts the variable usurf from file.nc
ncap2 -h -O -s 'thk=0*thk' file.nc file.nc # this does operations on file.nc, here force zero thk
ncrename -v apc,strflowctrl file.nc # this renames varible apc to strflowctrl in file.nc
- oggm_shop produces error on windows
This is expected, OGGM is not supported on windows, however, modifying the tarfile.py file at line 2677 from name == member_name to name.replace(os.sep, '/') == member_name seems to fix the issue on Windows. Thanks Alexi Morin for proposing this workaround.