OGGM / oggm

Open Global Glacier Model
http://oggm.org
BSD 3-Clause "New" or "Revised" License
225 stars 105 forks source link

throw an error or change something when init_glacier_directories with cfg.PARAMS['use_rgi_area'] = False #1505

Open bowenbelongstonature opened 2 years ago

bowenbelongstonature commented 2 years ago

When I work with preprocessed gdirs in the shop with cfg.PARAMS['use_rgi_area']=False, gdir.cenlat and gdir.cenlon are under Transverse Mercator system rather than the WGS_84.

bowenbelongstonature commented 2 years ago

I notice OGGM GlacierDirectory calculates xx and yy in any case, so maybe the judgement in L2600-L2611 can be changed by manipulating xx and yy

fmaussion commented 2 years ago

yes - I think this is a bug, we can correct this