I am trying to join 2 files but Riskscape is returning an empty file as output
project.ini
[model addProbs]
description = takes an SSP pathway and year and adds to the output from addSSPIds
location = addProbabilties.txt
framework = pipeline
addProbabilities.txt
input('SSPFull.csv') as allSSPs
-> filter("year" = '2040')
-> filter("measurementName" = 'SSP5-8.5 (low confidence)')
-> filter("siteId" = '689')
-> SSP_join.rhs
input('AAL_High_sspid.csv', name: 'AALs')
->
join(on: 'AALs.hazard_coverage_siteId' = "siteId") as SSP_join
->
save(name: 'output')
SSPFull.csv
"siteId","year","p17","p50","p83","lon","lat","measurementName"
"689",2040,0.14,0.18,0.29,174.6772,-36.6197,"SSP5-8.5 (low confidence)"
AAL_High_sspid.csv
hazard_coverage_siteId,hazard_coverage.lat,hazard_coverage.lon,hazard_coverage.geom
689,0,0,0
C:\Users\powellj\>riskscape model run addProbs
[WARNING] A Java upgrade is recommended. Your computer is currently using Java version 11.0.19, which will no longer be supported by future versions of RiskScape (RiskScape v1.5.0 onwards). Please upgrade to Java 17 (or higher) to ensure RiskScape will continue to run on your computer.
[WARNING] The 'beta' plugin is enabled. This contains experimental features that may significantly change or be deprecated in future releases.
[WARNING] No output has been produced from pipeline step(s) 'SSP_join:[join]'. Possible causes may be: the pipeline uses a filter condition that does not match any data; the model uses a join condition based on geometry, but the datasets do not overlap geographically; or for CSV-based data, the incorrect CRS (or `crs-longitude-first`) bookmark setting is being used.
file:/C:/Users/powellj/output/addProbs/2023-07-27T15_36_40/output.csv
The warning says that the filter step might be removing all data but if I run the pipeline with everything after → filter(“siteId” = ‘689’) commented out it works fine and returns the expected rhs.