irie 0.0.46__py3-none-any.whl → 0.0.47__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of irie might be problematic. Click here for more details.
- irie/init/management/commands/init_cesmd.py +3 -0
- {irie-0.0.46.dist-info → irie-0.0.47.dist-info}/METADATA +1 -1
- {irie-0.0.46.dist-info → irie-0.0.47.dist-info}/RECORD +6 -6
- {irie-0.0.46.dist-info → irie-0.0.47.dist-info}/WHEEL +0 -0
- {irie-0.0.46.dist-info → irie-0.0.47.dist-info}/entry_points.txt +0 -0
- {irie-0.0.46.dist-info → irie-0.0.47.dist-info}/top_level.txt +0 -0
|
@@ -10,6 +10,8 @@ DATA = Path(irie.__file__).parents[0]/"init"/"data"
|
|
|
10
10
|
|
|
11
11
|
with open(DATA/"cgs_data.json") as f:
|
|
12
12
|
CGS_DATA = json.loads(f.read())
|
|
13
|
+
with open(DATA/"nbi_data_cesmd.json") as f:
|
|
14
|
+
NBI_DATA = json.loads(f.read())
|
|
13
15
|
|
|
14
16
|
class Command(BaseCommand):
|
|
15
17
|
def handle(self, *args, **kwargs):
|
|
@@ -29,6 +31,7 @@ class Command(BaseCommand):
|
|
|
29
31
|
asset.cesmd = cesmd
|
|
30
32
|
asset.calid = calid
|
|
31
33
|
asset.cgs_data = CGS_DATA.get(cesmd, {})
|
|
34
|
+
asset.nbi_data = NBI_DATA.get(calid.replace("-", " "), {})
|
|
32
35
|
|
|
33
36
|
asset.save()
|
|
34
37
|
print(asset)
|
|
@@ -482,15 +482,15 @@ irie/init/data/nbi_definitions.json,sha256=NS3yNP1i1E_JXfGW_I_xOoNRsfeljDA5BZ_1h
|
|
|
482
482
|
irie/init/data/nbi/04.tar,sha256=ubRgxWBshe0cNKxftbEVyFeh1HcUmFarVL2BBHo9Tyk,1884160
|
|
483
483
|
irie/init/data/networks/soga_corridors.json,sha256=AQOUaKGNWkQxQKLfqphE9Qb_-NRmjN9IwK59SGjutxE,45496
|
|
484
484
|
irie/init/management/commands/init_assets.py,sha256=z-QczBwa7altFy8oLgKtF2_ogHwWOGGFiMJYLkol-zU,5709
|
|
485
|
-
irie/init/management/commands/init_cesmd.py,sha256=
|
|
485
|
+
irie/init/management/commands/init_cesmd.py,sha256=CuttXboaYoIHAlWnsfE-h6cdCQqoO0iVGI11F91i-uo,1355
|
|
486
486
|
irie/init/management/commands/init_corridors.py,sha256=EzLk0HUiFxlco-2u0rypewOc9mAo_raqXC2_UCG8a_w,1241
|
|
487
487
|
irie/init/management/commands/init_predictors.py,sha256=edCf7d36cwl4YitXLtvOfsPee-BiPF55_Gr73OvTPcU,2368
|
|
488
488
|
irie/init/management/commands/make_asset.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
489
489
|
irie/pull/nbi.py,sha256=KpBjJ9GEU72Qk1t4bGN9cg0QBeVJ8k9XcI3Y1oSgIR0,11478
|
|
490
490
|
irie/rest/__main__.py,sha256=6Nf_-Rr9zGmMyp_wqCFDO7ls9QPnPd9UyUgN17rIGYw,3680
|
|
491
491
|
irie/usgs/__main__.py,sha256=HiSvPn5IW5IqRiCk1qRRq5dCy3-7iISw7v1P_w2rLrk,5049
|
|
492
|
-
irie-0.0.
|
|
493
|
-
irie-0.0.
|
|
494
|
-
irie-0.0.
|
|
495
|
-
irie-0.0.
|
|
496
|
-
irie-0.0.
|
|
492
|
+
irie-0.0.47.dist-info/METADATA,sha256=UY4aOzGLBIxZib3YMGJmtUSiMQbiZzMNoYlWIFaPPuY,3207
|
|
493
|
+
irie-0.0.47.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
494
|
+
irie-0.0.47.dist-info/entry_points.txt,sha256=A_3h9wPBGfxGQ78_MGa-nO6Z0foxOYeAnIE47jxEztg,44
|
|
495
|
+
irie-0.0.47.dist-info/top_level.txt,sha256=zVCxi5E2nkISZPzKq8VEhWe_dGuPcefLYV1tYqQdwlY,5
|
|
496
|
+
irie-0.0.47.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|