From e38f61ae57aaa286b19a458786e571c704d08fa0 Mon Sep 17 00:00:00 2001 From: Shashank Bhushan Date: Wed, 22 Feb 2023 11:24:04 -0800 Subject: [PATCH] add import of os (#55) --- demcoreg/coreglib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demcoreg/coreglib.py b/demcoreg/coreglib.py index 06563d4..f1118b1 100644 --- a/demcoreg/coreglib.py +++ b/demcoreg/coreglib.py @@ -682,6 +682,7 @@ def ct_at_correction_wrapper(src_dem_fn, dh_fn, dh_filt_fn, ct_only=False, sg_wi writeout: bool Write corrected source DEM, difference maps and plots to disc (not used currently) """ + import os # warp the difference maps to extent and resolution of source DEMs print("Warping difference maps to extent of source DEM") ds_list = warplib.memwarp_multi_fn([src_dem_fn, dh_fn, dh_filt_fn], res='first', extent='first', r='cubic')