GIS4WRF / gis4wrf

QGIS toolkit 🧰 for pre- and post-processing 🔨, visualizing 🔍, and running simulations 💻 in the Weather Research and Forecasting (WRF) model 🌀
https://gis4wrf.github.io
MIT License
159 stars 36 forks source link

Multiple warnings when installing plugin for first time user #231

Closed echoix closed 2 years ago

echoix commented 2 years ago

Describe the bug I'm a new user, and installing the plugin and opening gis4wrf Datasets > Met tab > Product combobox generates warnings/errors.

To Reproduce Steps to reproduce the behavior:

  1. Go to Plugins >Manage and install plugins
  2. Search for gis4wrf, and install it.
  3. Open the gis4wrf plugin (Plugins >GIS4WRF >GIS4WRF)
  4. Open product combobox (Datasets > Met tab > Product combobox)
  5. See the banner referering to logs of why the product combobox click didn't work.

Expected behavior As a new user, I want to be able to at least have time to see the plugins before generating errors (lead me to what to do if needed)

Screenshots image

(The temporary banner is gone now) image

Full warnings log ``` 2022-02-02T16:22:52 WARNING warning:C:\OSGeo4W/apps/qgis/./python\qgis\utils.py:888: 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:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 335, in installPlugin loadPlugin(plugin["id"]) File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 391, in loadPlugin __import__(packageName) File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 5, in from gis4wrf.bootstrap import bootstrap File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 14, in import pkg_resources File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\site-packages\pkg_resources\__init__.py", line 74, in from pkg_resources.extern import appdirs File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 666, in _load_unlocked File "", line 565, in module_from_spec File "C:\OSGeo4W\apps\Python39\lib\site-packages\pkg_resources\extern\__init__.py", line 52, in create_module return self.load_module(spec.name) File "C:\OSGeo4W\apps\Python39\lib\site-packages\pkg_resources\extern\__init__.py", line 37, in load_module __import__(extant) File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\site-packages\pkg_resources\_vendor\appdirs.py", line 560, in import win32com.shell File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 972, in _find_and_load_unlocked File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\site-packages\win32com\__init__.py", line 6, in import pythoncom File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\site-packages\pythoncom.py", line 2, in import pywintypes File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\site-packages\win32\lib\pywintypes.py", line 2, in import imp, sys, os File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\imp.py", line 31, in warnings.warn("the imp module is deprecated in favour of importlib; " 2022-02-02T16:22:59 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\helpers.py:266: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python. self.setFixedWidth(parent.width() * 0.5) traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 22, in classFactory bootstrap_with_ui(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 53, in bootstrap_with_ui dialog = WaitDialog(parent, PLUGIN_NAME) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\helpers.py", line 266, in __init__ self.setFixedWidth(parent.width() * 0.5) 2022-02-02T16:23:06 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py:229: ResourceWarning: unclosed file for line in run_subprocess(args, LOG_PATH): traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 22, in classFactory bootstrap_with_ui(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 39, in bootstrap_with_ui for msg_type, msg_val in bootstrap(): File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\bootstrap.py", line 229, in bootstrap for line in run_subprocess(args, LOG_PATH): 2022-02-02T16:23:06 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\transforms\wps_binary_to_gdal.py:26: DeprecationWarning: invalid escape sequence \. tile_filename_re = re.compile('^({d})-({d})\.({d})-({d})$'.format(d='\d{' + str(m.filename_digits) + '}')) traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 24, in classFactory from gis4wrf.plugin.plugin import QGISPlugin File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\plugin.py", line 17, in from gis4wrf.core import ( File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\__init__.py", line 25, in from gis4wrf.core.transforms.wps_binary_to_gdal import * File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 851, in exec_module File "", line 988, in get_code File "", line 918, in source_to_code File "", line 228, in _call_with_frames_removed 2022-02-02T16:23:06 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\transforms\wps_binary_to_gdal.py:26: DeprecationWarning: invalid escape sequence \d tile_filename_re = re.compile('^({d})-({d})\.({d})-({d})$'.format(d='\d{' + str(m.filename_digits) + '}')) traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\__init__.py", line 24, in classFactory from gis4wrf.plugin.plugin import QGISPlugin File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\plugin.py", line 17, in from gis4wrf.core import ( File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\__init__.py", line 25, in from gis4wrf.core.transforms.wps_binary_to_gdal import * File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 851, in exec_module File "", line 988, in get_code File "", line 918, in source_to_code File "", line 228, in _call_with_frames_removed 2022-02-02T17:13:13 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\geo.py:235: DeprecationWarning: QgsCoordinateReferenceSystem.fromProj4() is deprecated registry.setCrs((QgsCoordinateReferenceSystem.fromProj4("+proj=longlat +datum=WGS84 +no_defs"))) traceback: File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\plugin.py", line 88, in show_dock add_default_basemap() File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\geo.py", line 236, in add_default_basemap setWGS84() File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\geo.py", line 235, in setWGS84 registry.setCrs((QgsCoordinateReferenceSystem.fromProj4("+proj=longlat +datum=WGS84 +no_defs"))) 2022-02-02T17:15:34 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\requests\auth.py:39: DeprecationWarning: Non-string usernames will no longer be supported in Requests 3.0.0. Please convert the object you've passed in (None) to a string or bytes object in the near future to avoid problems. warnings.warn( traceback: File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\widget_met.py", line 129, in on_dataset_changed self.products = get_met_products(dataset_name, auth) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\downloaders\met.py", line 27, in get_met_products response = session.get(f'https://rda.ucar.edu/apps/metadata/{dataset_name}', auth=auth) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 543, in get return self.request('GET', url, **kwargs) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 516, in request prep = self.prepare_request(req) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 449, in prepare_request p.prepare( File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\models.py", line 318, in prepare self.prepare_auth(auth, url) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\models.py", line 549, in prepare_auth r = auth(self) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\auth.py", line 96, in __call__ r.headers['Authorization'] = _basic_auth_str(self.username, self.password) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\auth.py", line 39, in _basic_auth_str warnings.warn( 2022-02-02T17:15:34 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\requests\auth.py:49: DeprecationWarning: Non-string passwords will no longer be supported in Requests 3.0.0. Please convert the object you've passed in () to a string or bytes object in the near future to avoid problems. warnings.warn( traceback: File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\widget_met.py", line 129, in on_dataset_changed self.products = get_met_products(dataset_name, auth) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\downloaders\met.py", line 27, in get_met_products response = session.get(f'https://rda.ucar.edu/apps/metadata/{dataset_name}', auth=auth) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 543, in get return self.request('GET', url, **kwargs) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 516, in request prep = self.prepare_request(req) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\sessions.py", line 449, in prepare_request p.prepare( File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\models.py", line 318, in prepare self.prepare_auth(auth, url) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\models.py", line 549, in prepare_auth r = auth(self) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\auth.py", line 96, in __call__ r.headers['Authorization'] = _basic_auth_str(self.username, self.password) File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\auth.py", line 49, in _basic_auth_str warnings.warn( ```
Full error log The full log: ``` 2022-02-02T17:15:35 WARNING Traceback (most recent call last): File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\widget_met.py", line 129, in on_dataset_changed self.products = get_met_products(dataset_name, auth) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\downloaders\met.py", line 28, in get_met_products response.raise_for_status() File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://rda.ucar.edu/apps/metadata/ds084.1 2022-02-02T17:20:49 WARNING Traceback (most recent call last): File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\plugin\ui\widget_met.py", line 129, in on_dataset_changed self.products = get_met_products(dataset_name, auth) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gis4wrf\core\downloaders\met.py", line 28, in get_met_products response.raise_for_status() File "C:\OSGeo4W\apps\Python39\lib\site-packages\requests\models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://rda.ucar.edu/apps/metadata/ds083.3 ```

I'm also adding another section of the warning log messages that are concerning another plugin installed during the same session, just in the slight chance that there could be an interaction, but I think it should be ignored.

Additionnal warnings concerning another plugin installed at the same time Here is the log: ``` 2022-02-02T16:38:11 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\gdal_calc.py:368: DeprecationWarning: invalid escape sequence \ """ Perform raster calculations with numpy syntax. traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\__init__.py", line 128, in classFactory from .cloud_masking import CloudMasking File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\cloud_masking.py", line 39, in from CloudMasking.core import cloud_filters, color_stack File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\core\cloud_filters.py", line 36, in from CloudMasking.libs import gdal_merge, gdal_calc File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 851, in exec_module File "", line 988, in get_code File "", line 918, in source_to_code File "", line 228, in _call_with_frames_removed 2022-02-02T16:38:11 WARNING warning:C:\OSGeo4W\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg\osgeo\gdalnumeric.py:6: DeprecationWarning: instead of `import gdalnumeric`, please consider `import numpy` and/or `from osgeo import gdal_array` warn('instead of `import gdalnumeric`, please consider `import numpy` and/or `from osgeo import gdal_array`', traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\__init__.py", line 128, in classFactory from .cloud_masking import CloudMasking File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\cloud_masking.py", line 39, in from CloudMasking.core import cloud_filters, color_stack File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\core\cloud_filters.py", line 36, in from CloudMasking.libs import gdal_merge, gdal_calc File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\gdal_calc.py", line 54, in from osgeo import gdalnumeric File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\OSGeo4W\apps\Python39\lib\site-packages\GDAL-3.4.1-py3.9-win-amd64.egg\osgeo\gdalnumeric.py", line 6, in warn('instead of `import gdalnumeric`, please consider `import numpy` and/or `from osgeo import gdal_array`', 2022-02-02T16:38:13 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\imageio.py:63: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations (numpy.bool,gdalconst.GDT_Byte), traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\__init__.py", line 128, in classFactory from .cloud_masking import CloudMasking File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\cloud_masking.py", line 39, in from CloudMasking.core import cloud_filters, color_stack File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\core\cloud_filters.py", line 44, in from fmask import fmask, landsatTOA, landsatangles, config, saturationcheck File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\fmask\fmask.py", line 63, in from rios import applier File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\applier.py", line 31, in from . import imagereader File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\imagereader.py", line 27, in from . import imageio File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\imageio.py", line 63, in (numpy.bool,gdalconst.GDT_Byte), File "C:\OSGeo4W\apps\Python39\lib\site-packages\numpy\__init__.py", line 287, in __getattr__ warnings.warn(msg, DeprecationWarning, stacklevel=2) 2022-02-02T16:38:13 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\imageio.py:69: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations (numpy.float,gdalconst.GDT_Float64) traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\__init__.py", line 128, in classFactory from .cloud_masking import CloudMasking File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\cloud_masking.py", line 39, in from CloudMasking.core import cloud_filters, color_stack File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\core\cloud_filters.py", line 44, in from fmask import fmask, landsatTOA, landsatangles, config, saturationcheck File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\fmask\fmask.py", line 63, in from rios import applier File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\applier.py", line 31, in from . import imagereader File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\imagereader.py", line 27, in from . import imageio File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\rios\imageio.py", line 69, in (numpy.float,gdalconst.GDT_Float64) File "C:\OSGeo4W\apps\Python39\lib\site-packages\numpy\__init__.py", line 287, in __getattr__ warnings.warn(msg, DeprecationWarning, stacklevel=2) 2022-02-02T16:38:13 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\libs\fmask\landsatTOA.py:2: DeprecationWarning: invalid escape sequence \* """ traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\__init__.py", line 128, in classFactory from .cloud_masking import CloudMasking File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\cloud_masking.py", line 39, in from CloudMasking.core import cloud_filters, color_stack File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\core\cloud_filters.py", line 44, in from fmask import fmask, landsatTOA, landsatangles, config, saturationcheck File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "", line 1058, in _handle_fromlist File "", line 228, in _call_with_frames_removed File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 851, in exec_module File "", line 988, in get_code File "", line 918, in source_to_code File "", line 228, in _call_with_frames_removed 2022-02-02T16:38:13 WARNING warning:C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\gui\about_dialog.py:37: ResourceWarning: unclosed file html_text = open(about_file).read() traceback: File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 275, in showPluginManagerWhenReady iface.pluginManagerInterface().showPluginManager(tabIndex) File "", line 1, in File "C:\OSGeo4W/apps/qgis/./python\pyplugin_installer\installer.py", line 342, in installPlugin if startPlugin(plugin["id"]): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 443, in startPlugin if not _startPlugin(packageName): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\__init__.py", line 129, in classFactory return CloudMasking(iface) File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\cloud_masking.py", line 85, in __init__ self.about_dialog = AboutDialog() File "C:\Users/E-C/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\CloudMasking\gui\about_dialog.py", line 37, in __init__ html_text = open(about_file).read() ```

System Information (please complete the following information):

QGIS version
3.22.3-Białowieża
QGIS code revision
1628765ec7
Qt version
5.15.2
Python version
3.9.5
GDAL/OGR version
3.4.1
PROJ version
8.2.1
EPSG Registry database version
v10.041 (2021-12-03)
Compiled against GEOS
3.10.0-CAPI-1.16.0
Running against GEOS
3.10.2-CAPI-1.16.0
SQLite version
3.35.2
PDAL version
2.3.0
PostgreSQL client version
13.0
SpatiaLite version
5.0.1
QWT version
6.1.3
QScintilla2 version
2.11.5
OS version
Windows 10 Version 2009

Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.5
processing
2.12.99
sagaprovider
2.12.99
gribdownloader
0.5
gis4wrf
0.14.6

Additional context Add any other context about the problem here.

letmaik commented 2 years ago

The error message says "Unauthorized". See https://gis4wrf.github.io/configuration/#integration-with-ncars-research-data-archive on how to configure the plugin to access the datasets. You can ignore the other warnings. One of those is fixed in https://github.com/GIS4WRF/gis4wrf/pull/230.