Skip to content

Spatial data prep [BUG]  #20

Description

@lfraser1

Describe the bug
I have a raster layer that is throwing a warning during Step 1 that I believe is causing a failure during Step 2. The warning, "Caught exception processing covariate: clay -- <class 'OverflowError'> -- Unable to convert nodata value (-9999.0) to new dtype (uint8)", seems to be related to nodata values. It then seems to not produce the needed layer for Step 2.

To Reproduce
Steps to reproduce the behavior:
I will upload a version of my library for testing. The layer that is causing the error is SG_clay_M
_sl2_100m.tif

Expected behavior
SyncroSim runs spatial data preparation or throws descriptive error during step 1 telling me what format my data needs to be in.

Relevant log output

SyncroSim Version: 3.0.7.0
Operating System: Microsoft Windows NT 6.2.9200.0

Packages:
core -> 3.0.7
wisdm -> 2.0.1

Parent Scenario is: [9] Brassica tournifortii - Data prep
Result scenario is: [35] Brassica tournifortii - Data prep ([9] @ 08-Oct-2024 3:22 PM)


STARTING SIMULATION: 10/8/2024 : 3:22:27 PM

Conda installation: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda
Conda environment: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda\envs\wisdm-1\wisdm-conda-s3

1 - Prepare Multiprocessing => Total time: 00:05:32

Conda installation: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda
Conda environment: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda\envs\wisdm-1\wisdm-conda-s3

Processing Covariate: clay (1 of 5) at 15:28:31

Caught exception processing covariate: clay -- <class 'OverflowError'> -- Unable to convert nodata value (-9999.0) to new dtype (uint8).

Processing Covariate: Eta_Oct_Jun (2 of 5) at 15:30:36

Processing Covariate: gHM (3 of 5) at 15:41:09

Processing Covariate: ppt_Oct_Jun (4 of 5) at 15:51:54

Processing Covariate: TMIN_Dec_Feb (5 of 5) at 16:04:54

Saving covariate datasheet at 16:11:47

Done at 16:11:47

2 - Spatial Data Preparation => Total time: 00:43:51
[Failure] The import file was not found: C:\Users\lfraser\OneDrive - DOI\Projects\WISDM\test.ssim.temp\DataTransfer\Scenario-35\SG_clay_M_sl2_100m.tif


SIMULATION COMPLETE: 10/8/2024 : 4:11:51 PM

Total simulation time: 00:49:23

Software versions:

  • SyncroSim: 3.0.7
  • WISDM 2.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions