Skip to content
Snippets Groups Projects
Commit c1df0104 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Assume `node_id_param.json` in current directory

Assume that `node_id_param.json` is in the current directory. We do
not want paths written inside the script.
parent 5170d8a9
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,7 @@ def calculate_radii_and_rossby(start, end, inc, segment, e_overestim, ext_shp_rc
# grab e_overestim
###############################
node_id_param_file = "/data/misic/Convert_Global/node_id_param.json"
with open(node_id_param_file) as f: node_id_param = json.load(f)
with open("node_id_param.json") as f: node_id_param = json.load(f)
# assign attributes to the whole graphs
e_overestim = node_id_param["e_overestim"]
......
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