Skip to content

Commit

Permalink
updated paths after upstream reorganization
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Milner committed May 21, 2024
1 parent c526851 commit 7d99e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
public class InitialDefModConvert {

public static void main(String[] args) throws IOException {
// File dir = new File("/home/kevin/workspace/opensha/src/main/resources/data/erf/prvi25/fault_models/initial");
File dir = new File("C:\\Users\\kmilner\\git\\opensha\\opensha\\src\\main\\resources\\data\\erf\\prvi25\\fault_models\\initial");
File inputFile = new File(dir, "NSHM2025_GeoDefModel_PRVI.geojson");
File dir = new File("/home/kevin/workspace/opensha/src/main/resources/data/erf/prvi25/fault_models/crustal");
// File dir = new File("C:\\Users\\kmilner\\git\\opensha\\opensha\\src\\main\\resources\\data\\erf\\prvi25\\fault_models\\initial");
File inputFile = new File(dir, "NSHM2025_GeoDefModel_PRVI_v1-1.geojson");
File inputPolys = new File(dir, "NSHM2025_FaultPolygons_PRVI_v1.geojson");
File outputFile = new File(dir, "NSHM2025_GeoDefModel_PRVI_mod.geojson");
File outputFile = new File(dir, "NSHM2025_GeoDefModel_PRVI_v1-1_mod.geojson");
List<Feature> features = new ArrayList<>(FeatureCollection.read(inputFile).features);
List<Feature> polyFeatures = new ArrayList<>(FeatureCollection.read(inputPolys).features);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public class InitialSubductionDefModConvert {

public static void main(String[] args) throws IOException {
File fmDir = new File("/home/kevin/workspace/opensha/src/main/resources/data/erf/prvi25/fault_models/initial");
File fmDir = new File("/home/kevin/workspace/opensha/src/main/resources/data/erf/prvi25/fault_models/subduction");
File dmDir = new File("/home/kevin/workspace/opensha/src/main/resources/data/erf/prvi25/def_models/subduction");
File inputFile = new File(fmDir, "PRVI_sub_v2_13May2024.geojson");
File fmOutputFile = new File(fmDir, "PRVI_sub_v2_fault_model.geojson");
Expand Down

0 comments on commit 7d99e78

Please sign in to comment.