Skip to content

Commit c36f7d2

Browse files
committed
change some log levels to debug
1 parent e635b1b commit c36f7d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

climada/entity/exposures/nightlight.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ def check_nl_local_file_exists(required_files=np.ones(len(BM_FILENAMES),),
152152
files_exist[num_check] = 1
153153

154154
if sum(files_exist) == sum(required_files):
155-
LOGGER.info('Found all required satellite data (' +
155+
LOGGER.debug('Found all required satellite data (' +
156156
str(int(sum(required_files))) + ' files) in folder ' +
157157
check_path)
158158
elif sum(files_exist) == 0:
159159
LOGGER.info('No satellite files found locally in %s', check_path)
160160
else:
161-
LOGGER.info('Not all satellite files available. Found ' +
161+
LOGGER.debug('Not all satellite files available. Found ' +
162162
str(int(sum(files_exist))) + ' out of ' +
163163
str(int(sum(required_files))) + ' required files in ' +
164164
check_path)
@@ -194,7 +194,7 @@ def download_nl_files(req_files=np.ones(len(BM_FILENAMES),), \
194194
LOGGER.warning('The given folder does not exist using the ' + \
195195
'Climada data directory instead.')
196196
if np.all(req_files == files_exist):
197-
LOGGER.info('All required files already exist. ' +
197+
LOGGER.debug('All required files already exist. ' +
198198
'No downloads neccessary.')
199199
return None
200200
try:

0 commit comments

Comments
 (0)