SDG Indicator 15.3.1

159 views
Skip to first unread message

As trees

unread,
Jan 15, 2024, 2:54:27 AM1/15/24
to Trends.Earth Users

Hello everyone,

I have no issues when calculating each sub-indicator, but when I try to compile them to calculate the SDG Indicator 15.3.1, it doesn't work. The computer runs for a while and then stops without any record. How can I resolve this?

The task briefly appears in the dataset list and then disappears, or it doesn't appear at all.

Thank you all.截屏2024-01-15 15.53.22.png

As trees

unread,
Jan 15, 2024, 9:17:50 PM1/15/24
to Trends.Earth Users

2024-01-16T10:15:55     WARNING    执行Python代码时发生错误:
             
             
             numba.core.errors.UnsupportedError: Failed in nopython mode pipeline (step: analyzing bytecode)
             Use of unsupported opcode (IS_OP) found
             
             File "Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg_numba.py", line 183:
             def calc_lc_trans(lc_bl, lc_tg, multiplier, recode_from=None, recode_to=None):
             
              # raw integer codes to ordinal values prior to calculating transitions
              if recode_from is not None and recode_to is not None:
              ^
             
             
             
             Traceback (most recent call last):
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/jobs/manager.py", line 194, in run
              self.results = execution_handler(
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/localexecution/ldn.py", line 369, in compute_ldn
              return summarise_land_degradation(
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg.py", line 310, in summarise_land_degradation
              summary_table, output_path, reproj_path = _compute_ld_summary_table(
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg.py", line 1230, in _compute_ld_summary_table
              ) = _process_region(
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg.py", line 1174, in _process_region
              summary_table, output_paths = _aoi_process_sequential(inputs)
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg.py", line 1084, in _aoi_process_sequential
              output = _summarize_tile(item)
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg.py", line 1038, in _summarize_tile
              result = summarizer.work()
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/worker.py", line 135, in work
              result = self.processing_function(
              File "/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg.py", line 587, in _process_block_summary
              a_lc_trans_lc_deg = calc_lc_trans(
              File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg/numba/core/dispatcher.py", line 418, in _compile_for_args
              error_rewrite(e, 'unsupported_error')
              File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg/numba/core/dispatcher.py", line 358, in error_rewrite
              reraise(type(e), e, None)
              File "/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg/numba/core/utils.py", line 80, in reraise
              raise value.with_traceback(tb)
             numba.core.errors.UnsupportedError: Failed in nopython mode pipeline (step: analyzing bytecode)
             Use of unsupported opcode (IS_OP) found
             
             File "Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/te_algorithms/gdal/land_deg/land_deg_numba.py", line 183:
             def calc_lc_trans(lc_bl, lc_tg, multiplier, recode_from=None, recode_to=None):
             
              # raw integer codes to ordinal values prior to calculating transitions
              if recode_from is not None and recode_to is not None:
              ^
             
             
             
             
             
             Python版本: 3.9.5 (default, Sep 10 2021, 16:18:19)
             [Clang 12.0.5 (clang-1205.0.22.11)]
             
             
             QGIS版本: 3.34.2-Prizren Prizren, 7d199797fcc
             
             
             Python路径:
             
             /Applications/QGIS.app/Contents/MacOS/../Resources/python/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/LDMP/ext-libs/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pyproj-3.2.0-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/scipy-1.5.1-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Fiona-1.8.13.post1-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/opencv_contrib_python-4.3.0.36-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Rtree-0.9.7-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/netCDF4-1.5.4-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python39.zip/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/matplotlib-3.3.0-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/geopandas-0.8.1-py3.9.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/lib-dynload/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/statsmodels-0.11.1-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/GDAL-3.3.2-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/rasterio-1.1.5-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/pandas-1.3.3-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numba-0.50.1-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/patsy-0.5.1-py3.9.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/Pillow-7.2.0-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/cftime-1.2.1-py3.9-macosx-10.13.0-x86_64.egg/Applications/QGIS.app/Contents/MacOS/lib/python3.9/site-packages/numpy-1.20.1-py3.9-macosx-10.13.0-x86_64.egg/Users/zhaojingdong/Library/Application Support/QGIS/QGIS3/profiles/default/python

As trees

unread,
Jan 15, 2024, 9:18:04 PM1/15/24
to Trends.Earth Users

Mac OS

gabriel antunes daldegan

unread,
Jan 18, 2024, 2:26:59 PM1/18/24
to As trees, Trends.Earth Users
Hello,

thanks for reaching out to us!

This seems to be related to recent updates in Python (new functions/deprecated functions). We're currently investigating and will address these and other issues raised. 
Would you be able to run your analysis in a lower version of QGIS (QGIS 3.28 for instance)?

Best,
Gabriel

--
You received this message because you are subscribed to the Google Groups "Trends.Earth Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trends_earth_us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trends_earth_users/b9cf5c12-af27-427a-a3ea-47af35e19cc1n%40googlegroups.com.

As trees

unread,
Jan 18, 2024, 10:16:06 PM1/18/24
to Trends.Earth Users

Dear Research Team,

Hello and warm greetings. I would like to express my sincere gratitude for your timely and considerate response. Recently, I have been working with QGIS 3.28 on my computer, but unfortunately, I encountered consistent issues on both of my Apple computers. On a more positive note, when I used a Windows-based system, I was able to conduct the analysis without encountering any Python errors.

Given this experience, it appears that the Python error might be exclusive to the Apple operating system. I kindly request your team's assistance in identifying and rectifying this error. Your dedication and efforts in this matter are highly appreciated.

Thank you very much for your valuable work and support. Looking forward to your response.

Best regards, dongjing zh

As trees

unread,
Jan 18, 2024, 10:20:28 PM1/18/24
to Trends.Earth Users
截屏2024-01-19 11.19.05.png
截屏2024-01-19 11.19.24.png

Islam Qasem

unread,
Aug 21, 2024, 6:15:48 AM8/21/24
to Trends.Earth Users
Hi everyone,

I am encountering the same problem mentioned below. What is the solution to this problem? Many thanks
Reply all
Reply to author
Forward
0 new messages