-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bbbfd2
commit a856d81
Showing
10 changed files
with
41 additions
and
3,638 deletions.
There are no files selected for viewing
Submodule ccm
updated
4 files
+157 −25 | Microsoft.PowerShell_profile.ps1 | |
+24 −82 | build.ps1 | |
+23 −119 | minting-labview.ps1 | |
+3 −96 | utils.psm1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"StrDates": ["2022-12-30","2022-12-31","2023-01-01","2022-05-12","2022-11-11","2022-07-01","2022-08-05","2022-01-31","2023-03-18"], | ||
"base_name": "bologna_mdt", | ||
"InputBaseDir":"/home/aamad/Desktop/phd/codice/city-pro/output/bologna_mdt_detailed", | ||
"bounding_box":{ | ||
"lat_min":"44.463121", | ||
"lat_max":"44.518165", | ||
"lon_min":"11.287085", | ||
"lon_max":"11.367472" | ||
}, | ||
"geojson_file": "/home/aamad/Desktop/phd/codice/city-pro/city-pro-carto.geojson" | ||
|
||
} |
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import json | ||
import os | ||
WORKSPACE = os.environ["WORKSPACE"] | ||
StrDates = ['2022-12-30','2022-12-31','2023-01-01','2022-05-12','2022-11-11','2022-07-01','2022-08-05','2022-01-31','2023-03-18'] | ||
BaseName = "bologna_mdt" | ||
Carto = "bologna_mdt_cleaned" | ||
|
||
for StrDate in StrDates: | ||
with open(os.path.join(WORKSPACE,"city-pro","bologna_mdt_detailed",StrDate,"config_bologna.json"),"r") as f: | ||
config = json.load(f) | ||
config["file_pnt"] = os.path.join(WORKSPACE,"city-pro","bologna_mdt_detailed","carto",Carto + ".pnt") | ||
config["file_pro"] = os.path.join(WORKSPACE,"city-pro","bologna_mdt_detailed","carto",Carto + ".pro") | ||
config["file_data"] = os.path.join(WORKSPACE,"city-pro","bologna_mdt_detailed",StrDate,BaseName + "_" + StrDate + "_" + StrDate + ".csv") | ||
config["cartout_basename"] = os.path.join(WORKSPACE,"city-pro","output","bologna_mdt_detailed") + "/" | ||
config["file_subnet"] = os.path.join(WORKSPACE,"city-pro","output","bologna_mdt_detailed","weights",BaseName + "_" + StrDate + "_" + StrDate + ".fluxes.sub") | ||
with open(os.path.join(WORKSPACE,"city-pro","bologna_mdt_detailed",StrDate,"config_bologna.json"),"w") as f: | ||
config = json.dump(config,f,indent=2) | ||
|
||
if not os.path.exists(os.path.join(WORKSPACE,"city-pro","output")): | ||
os.mkdir(os.path.join(WORKSPACE,"city-pro","output")) | ||
if not os.path.exists(os.path.join(WORKSPACE,"city-pro","output","bologna_mdt_detailed")): | ||
os.mkdir(os.path.join(WORKSPACE,"city-pro","output","bologna_mdt_detailed")) | ||
if not os.path.exists(os.path.join(WORKSPACE,"city-pro","output","bologna_mdt_detailed","weights")): | ||
os.mkdir(os.path.join(WORKSPACE,"city-pro","output","bologna_mdt_detailed","weights")) | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
z_config_analysis/config_aggregated_fundamental_diagram.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.