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

Store cropland share and cropland water requirements #23

Open
camiloramirezgo opened this issue Nov 5, 2019 · 0 comments
Open

Store cropland share and cropland water requirements #23

camiloramirezgo opened this issue Nov 5, 2019 · 0 comments
Labels
enhancement New feature or request Nexus tool Development of Nexus tool Visualisation Visualisation features

Comments

@camiloramirezgo
Copy link
Contributor

Store the information relate to cropland shares withing each administrative boundary from WEAP and the related water requirements of each. This will be helpful for the visualisation platform.

The information can be stored in the main dataframe, or create properties for the model that contain it e.g. in the form of a Python dictionary as:

model.cropland_share = {'Province1': {'Crop1': 0.2, 'Crop2': 0.3, 'Crop3': 0.5},
                        'Province2': {'Crop1': 0.4, 'Crop2': 0.5, 'Crop3': 0.1}

Although, it would be interesting to have it at the main dataframe to be able to able to display easily monthly information. However, to store everything in the main dataframe may have consequences in performance when filtering the data for the visualisation.

@camiloramirezgo camiloramirezgo added the enhancement New feature or request label Nov 5, 2019
@camiloramirezgo camiloramirezgo removed this from the WEAP input data processing milestone Dec 19, 2019
@camiloramirezgo camiloramirezgo added Nexus tool Development of Nexus tool Visualisation Visualisation features labels Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Nexus tool Development of Nexus tool Visualisation Visualisation features
Projects
None yet
Development

No branches or pull requests

1 participant