Closed sunt05 closed 4 years ago
Original comment by Fredrik Lindberg (Bitbucket: fredrik_ucg, ).
Grids not fully covered by LCZ raster data will not be calculated. That is why they are not calculated. The warnings you see if most likely not affecting your processing.
Original comment by Natasha Picone (Bitbucket: natashapicone, GitHub: natashapicone).
Hello Fredrik,
Thanks for your time. The problem is that there is no calculating a lot of grid that are fully covered, like the ones in the center. I add the LCZ converter to the grid table and as you can see in the photo the yellow ones are the ones that doesn´t have LCZ data but the map cover most of them.
Thanks,
Natasha
Original comment by Natasha Picone (Bitbucket: natashapicone, GitHub: natashapicone).
Hello,
I solve the problem, changing the Nodata value for 0, using Reclass.
Natasha
Original changes by Fredrik Lindberg (Bitbucket: fredrik_ucg, ).
changed state from "new" to "closed"
Original report by Natasha Picone (Bitbucket: natashapicone, GitHub: natashapicone).
Hello,
I am trying to used a LCZ map to calculate the parameter for the SUEWS, when I used the LCZ converter the programe put a critical warning for half of the grids I had and don´t calculate the parameter for them. I send a photo of the errors .
In the python console I get several problems:
2020-02-11T10:45:33 WARNING warning:C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py:744: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "", line 1, in
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 354, in startPlugin
if not _startPlugin(packageName):
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\__init__.py", line 34, in classFactory
from .UMEP import UMEP
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\UMEP.py", line 30, in
from .ShadowGenerator.shadow_generator import ShadowGenerator
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\ShadowGenerator\shadow_generator.py", line 35, in
from osgeo import gdal, osr
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo\__init__.py", line 41, in
_gdal = swig_import_helper()
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo\__init__.py", line 15, in swig_import_helper
import imp
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\imp.py", line 33, in
DeprecationWarning, stacklevel=2)
2020-02-11T10:45:33 WARNING warning:C:\OSGeo4W64\apps\Python37\lib\importlib\_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
traceback: File "", line 1, in
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 354, in startPlugin
if not _startPlugin(packageName):
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\__init__.py", line 34, in classFactory
from .UMEP import UMEP
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\UMEP.py", line 32, in
from .ImageMorphParam.image_morph_param import ImageMorphParam
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\ImageMorphParam\image_morph_param.py", line 36, in
from ..Utilities.imageMorphometricParms_v1 import *
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\Utilities\imageMorphometricParms_v1.py", line 20, in
import scipy.ndimage.interpolation as sc
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\ndimage\__init__.py", line 161, in
from .filters import *
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\ndimage\filters.py", line 38, in
from . import _ni_docstrings
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1035, in _handle_fromlist
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\ndimage\_ni_docstrings.py", line 4, in
from scipy.misc import doccer
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\misc\__init__.py", line 68, in
from scipy.interpolate._pade import pade as _pade
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\interpolate\__init__.py", line 175, in
from .interpolate import *
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\interpolate\interpolate.py", line 32, in
from .interpnd import _ndim_coords_from_arrays
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\spatial\__init__.py", line 96, in
from .qhull import *
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
2020-02-11T10:45:33 WARNING warning:C:\OSGeo4W64\apps\Python37\lib\importlib\_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
traceback: File "", line 1, in
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 354, in startPlugin
if not _startPlugin(packageName):
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\__init__.py", line 34, in classFactory
from .UMEP import UMEP
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\UMEP.py", line 39, in
from .FootprintModel.footprint_model import FootprintModel
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\FootprintModel\footprint_model.py", line 34, in
from . import KingsFootprint_UMEP as fp
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 1035, in _handle_fromlist
File "", line 219, in _call_with_frames_removed
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\FootprintModel\KingsFootprint_UMEP.py", line 24, in
from scipy.optimize import fsolve
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\optimize\__init__.py", line 271, in
from ._minimize import *
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\optimize\_minimize.py", line 30, in
from ._trustregion_krylov import _minimize_trust_krylov
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\optimize\_trustregion_krylov.py", line 2, in
from ._trlib import (get_trlib_quadratic_subproblem)
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\scipy\optimize\_trlib\__init__.py", line 1, in
from ._trlib import TRLIBQuadraticSubproblem
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
2020-02-11T10:45:34 WARNING warning:C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo\gdal.py:113: DeprecationWarning: osr.py was placed in a namespace, it is now available as osgeo.osr
DeprecationWarning)
traceback: File "", line 1, in
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 354, in startPlugin
if not _startPlugin(packageName):
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\__init__.py", line 34, in classFactory
from .UMEP import UMEP
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\UMEP.py", line 41, in
from .UMEPDownloader.umep_downloader import UMEP_Data_Download
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Natasha/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\UMEPDownloader\umep_downloader.py", line 41, in
import osr
File "C:/OSGeo4W64/apps/qgis/./python\qgis\utils.py", line 744, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\osr.py", line 3, in
deprecation_warn('osr')
File "C:\OSGeo4W64\apps\Python37\lib\site-packages\osgeo\gdal.py", line 113, in deprecation_warn
DeprecationWarning)