Skip to content
Snippets Groups Projects
Commit 5c487579 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

disagg output filename edit

parent 9bc9a10f
No related branches found
No related tags found
1 merge request!799nshmp-lib and nshm-conus update
......@@ -517,12 +517,13 @@ public class DisaggCalc {
}
private static String disaggFilename(Site site) {
String baseName = String.format(
"%.2f,%.2f.csv",
site.location().longitude,
site.location().latitude);
return site.name().equals(Site.NO_NAME)
? String.format(
"%.2f,%.2f.json",
site.location().longitude,
site.location().latitude)
: site.name() + ".json";
? baseName
: site.name() + "," + baseName;
}
private static final String PROGRAM = DisaggCalc.class.getSimpleName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment