Jump to content

Dulce

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Dulce

  1. Hello Rogier!

    Thank you so much for your time and your help. 

    I used your script: "Create bounding box form lat/lon" for create the rectangular polygon and then use it to run the script "Get Worldcover landcover polygons" but with same result . Unfortunately, the error continues while I'm trying to connect with it seem the original data source  host='esa-worldcover.s3.eu-central-1.amazonaws.com'. I tried in version 3.14 & 3.28.    Next, I copy the error message that QGis shows.

    Should I have to connect with a different URL? 

    Thanks in advance

    Dulce

     

    2023-09-18T12:48:56     CRITICAL    Traceback (most recent call last):
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connection.py", line 159, in _new_conn
                  conn = connection.create_connection(
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
                  raise err
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
                  sock.connect(sa)
                 TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
                 
                 During handling of the above exception, another exception occurred:
                 
                 Traceback (most recent call last):
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 670, in urlopen
                  httplib_response = self._make_request(
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 381, in _make_request
                  self._validate_conn(conn)
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 978, in _validate_conn
                  conn.connect()
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connection.py", line 309, in connect
                  conn = self._new_conn()
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connection.py", line 171, in _new_conn
                  raise NewConnectionError(
                 urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
                 
                 During handling of the above exception, another exception occurred:
                 
                 Traceback (most recent call last):
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\requests\adapters.py", line 439, in send
                  resp = conn.urlopen(
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\connectionpool.py", line 726, in urlopen
                  retries = retries.increment(
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\urllib3\util\retry.py", line 446, in increment
                  raise MaxRetryError(_pool, url, error or ResponseError(cause))
                 urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='esa-worldcover.s3.eu-central-1.amazonaws.com', port=443): Max retries exceeded with url: /v100/2020/map/ESA_WorldCover_10m_2020_v100_N12W090_Map.tif (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
                 
                 During handling of the above exception, another exception occurred:
                 
                 Traceback (most recent call last):
                  File "C:\Users/----/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\wasp_scripts\processing_provider\worldcover.py", line 291, in processAlgorithm
                  r = requests.get(url, allow_redirects=True)
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\requests\api.py", line 76, in get
                  return request('get', url, params=params, **kwargs)
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\requests\api.py", line 61, in request
                  return session.request(method=method, url=url, **kwargs)
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\requests\sessions.py", line 530, in request
                  resp = self.send(prep, **send_kwargs)
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\requests\sessions.py", line 643, in send
                  r = adapter.send(request, **kwargs)
                  File "C:\PROGRA~1\QGIS32~1.2\apps\Python39\lib\site-packages\requests\adapters.py", line 516, in send
                  raise ConnectionError(e, request=request)
                 requests.exceptions.ConnectionError: HTTPSConnectionPool(host='esa-worldcover.s3.eu-central-1.amazonaws.com', port=443): Max retries exceeded with url: /v100/2020/map/ESA_WorldCover_10m_2020_v100_N12W090_Map.tif (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))

     

     

  2. Thanks for your answer. In the video appears the Corine Land Cover 2018 but I thinks this apply only for Europe, and the project is in Latinoamerica.  When I click on "Get WorldCover landcover polygons" it seem a problem with conexion to esa-worldcover.   The error messages mentioned an error connection with esa-worldcover.s3.eu-central-1.amazonaws.com . I see in CORINE tutorial to mention to make a connection in Qgis  What page and URL should I connect to in Qgis in order to Wasp script plugin work correctly?

    Thanks a lot for your reply! 

  3. Hello everybody!

     I want to calculate the roughness map from data downloaded by Copernicus Global Cover but I have not been able with Map Editor (version 12) Here what I have done.

     In Qgis:

    * I downloaded raster from Copernicus Global Cover Downloader thanks to a plugin in Qgis - It downloads a "discrete classification map" raster. 

    * I clipped to my area of interest

    * I remove the pixels that do not correspond to the landcover classification because is a discrete raster.

    * convert raster to polygons vector file with pixel values of classification.

    * add Z0_int and Z0_ext values to attribute table

     In Map Editor:

    * I import this .SHP file in Wasp Map Editor but it gives me 7053 crosspoints. It doesn't matter if I ignore them, I can't continue working with those errors.

    * When I compare with a  .map file generated from WindPRO (nor for me) in another area (not in Europe) I notice visually that there are also have huge physical crosspoints although the error are not marked by Map Editor. Everything is similar except that in file recognize "Roughness LINE-WEBS" and reocognizes the value of z0_right, z0_left and Webs (27915 webs and 27915 roughness areas!)

     *In the help section I found that "roughness-line web is the web consisting of roughness lines interconnected by node points: lines joined in a common node belong to the same web."

    *I suspect the reason the other file doesn't throw an error is because it has those web lines but I haven't found how I can activate them in my file. There are also the nodes that recognize nodes. (In their help section: "nodes is a A "star-point", where three or more roughness lines meet, with the roughnesses of the involved contours matching round the node point).

    *The roughness lines web are not activated even if I go to Roughness Consistency-EnableWebs How can I activate them in Map editor?

     

    -Qgis plugin

    On the other hand, I tried the plug in for Qgis indicated in the forum:

    https://data.dtu.dk/articles/software/Using_QGIS_to_create_WAsP_maps/20495178?file=38709351

     I used the tool "Polygons to roughness lines" and then I saved in .shp format and the result using the tool "Save WASP roughness layer" and when I open the .map file in Map Editor I get 1509 cross lines error and 3178 dead-ends.

    Also I tried tool "Get WorldCover landcover polygons" but they cannot because mention that  "The clipping layer must consist of a single feature only to avoid downloading too many files! "

     

    Thanks! 

×
×
  • Create New...