diff --git a/criticalinfrastructure/hsip-api_test.go b/criticalinfrastructure/hsip-api_test.go index 453dd04..a5e608b 100644 --- a/criticalinfrastructure/hsip-api_test.go +++ b/criticalinfrastructure/hsip-api_test.go @@ -13,9 +13,10 @@ func TestHSIP(t *testing.T) { list := []Layer{Hospitals, PowerPlants, FireStations, WasteWater, LawEnforcement, EmergencyMedicalServices, BRSandEBSTransmitters, CellularTowers, DialysisCenters, EPAandFRSPowerPlants, FacilityInterests, GeneratingUnits, HurricaneEvacuationRoutes, LandMobileBroadcastTowers, LandMobileCommercialTransmissionTowers, LocalEmergencyOperationsCenterEOC, LocalLawEnforcementLocations, MicrowaveServiceTowers, NursingHomes, PagingTransmissionTowers, Pharmacies, PublicHealthDepartments, PublicRefrigeratedWarehouses, UrgentCareFacilities, VeteransHealthAdministrationFacilities} provider := InitHsipProvider(list) bbox := geography.BBox{ - Bbox: []float64{-80, 36, -79.5, 35.5}, + // {top-left longitude, top-left latitude, bottom-right longitude, bottom-right latitude} + Bbox: []float64{-106.6456, 47.4567, -66.9499, 24.5231}, } - rw, _ := resultswriters.InitSpatialResultsWriter_EPSG_Projected("/workspaces/Go_Consequences/data/test6.parquet", "criticalInfrastructure", string(resultswriters.PARQUET), 4326) + rw, _ := resultswriters.InitSpatialResultsWriter_EPSG_Projected("/workspaces/Go_Consequences/data/test6.GPKG", "criticalInfrastructure", string(resultswriters.GPKG), 4326) defer rw.Close() provider.ByBbox(bbox, func(ci consequences.Receptor) { result, _ := ci.Compute(hazards.DepthEvent{})