Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update digital comms wrapper #67

Merged
merged 6 commits into from
Mar 22, 2019
Merged

Conversation

willu47
Copy link
Member

@willu47 willu47 commented Mar 19, 2019

First step towards completing #53

Requires nismod2/digital_comms#80 as run.py uses various utility functions from runner.py

  • Retrieves processed_data.zip from FTP server
  • Installs specific version of digital comms model

With the command smif run digital_comms_test I successfully read in the parameters from defaults.csv

  • before_model_run runs successfully
  • I read in assets and links from the csv files
  • instantiate NetworkManager object

Data

The data package needs to contain the scenario files that are removed from the NISMOD2 repo in this PR. (data/scenarios/*_adoption.csv)

@willu47 willu47 requested a review from edwardoughton March 19, 2019 10:21
@willu47
Copy link
Member Author

willu47 commented Mar 19, 2019

@edwardoughton - I've got to leave this now for the morning. Perhaps you could have a look at what I've done so far?

Next step is to move onto defining the inputs and outputs of the digital comms model, with the understanding that all the interventions will be supplied by the decision module.

willu47 added 3 commits March 19, 2019 13:30
- Simplified wrapper by moving all of the decision logic into a newly created decisions module
- Currently blocked by need to import adoption scenario data into decisions module
- Need to better understand dimensionality of technology and distribution points and work out how to pass these as interventions (if appropriate) to the decision module
@willu47 willu47 marked this pull request as ready for review March 20, 2019 11:15
@willu47 willu47 requested a review from tomalrussell March 20, 2019 11:15
@willu47
Copy link
Member Author

willu47 commented Mar 20, 2019

@edwardoughton and @tomalrussell - now got to the point where we need to think through i) how to get the right data into the decision module ii) how we should package up digital comms "interventions".

Copy link
Member

@tomalrussell tomalrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a useful step - suggest merge and create issues for:

  • smif decision module access to scenario data
  • nismod digital_comms adoption scenario data provision from FTP

@willu47 willu47 merged commit 333e8da into nismod:master Mar 22, 2019
@willu47 willu47 deleted the wrap/dc_fixed branch March 22, 2019 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants