Skip to content

create_ras_terrain fails with PROJ errors on certain collections (e.g., mip_03160109) #5

Description

@biplovbhandari

Summary

create_ras_terrain fails for collection mip_03160109 (reaches 18588442, 18588458) with PROJ database errors. Other collections (mip_05120110, mip_12040203, mip_03040201) succeed with the same configuration.

Traceback

ERROR 1: PROJ: proj_create_from_database: crs not found
ERROR 1: PROJ: proj_create_from_database: crs not found
ERROR 1: PROJ: proj_create_from_database: datum not found
ERROR 1: PROJ: proj_create_from_database: ellipsoid not found
ERROR 1: PROJ: proj_create_from_database: prime meridian not found
ERROR 1: PROJ: proj_create_from_database: crs not found

Traceback (most recent call last):
  File "C:\venvs\ripple1d_0_10_5rc\Lib\site-packages\ripple1d\ops/endpoints.py", line 61, in <module>
    r = execute_endpoint(sys.argv[1], sys.argv[2])
  File "C:\venvs\ripple1d_0_10_5rc\Lib\site-packages\ripple1d\ops/endpoints.py", line 40, in execute_endpoint
    return func_lookup[func](**json.loads(args))
  File "C:\venvs\ripple1d_0_10_5rc\Lib\site-packages\ripple1d\ops\ras_terrain.py", line 197, in create_ras_terrain
    raise RasTerrainFailure(f"Tried to create terrain at {terrain_path}, but CreateTerrain exe failed.")
ripple1d.errors.RasTerrainFailure: Tried to create terrain at D:\collections-v2\mip_03160109\submodels\18588458\Terrain\18588458.seamless_3dep_dem_3m_5070.tif, but CreateTerrain exe failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\venvs\ripple1d_0_10_5rc\Lib\site-packages\ripple1d\ops/endpoints.py", line 64, in <module>
    raise SystemError(f"Exception occurred: {e}")
SystemError: Exception occurred: Tried to create terrain at D:\collections-v2\mip_03160109\submodels\18588458\Terrain\18588458.seamless_3dep_dem_3m_5070.tif, but CreateTerrain exe failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions