Repository navigation
Conversation
* Changes to food scaling function * scale above threshold, deprecated drop in tests * Guard against fallback being defined but origin being not Co-authored-by: Copilot Autofix powered by AI <[email protected]> * accept scalar conv_arr, fixed conversion, input params in pipeline mode * unit tests, fixed behaviour of scale parameter --------- Co-authored-by: Copilot Autofix powered by AI <[email protected]>
* added land conversion methods * unit tests and docs * fixed mask and value_array validation in add_category
* added food scaling from land function * Update agrifoodpy/food/model.py multiple sum Co-authored-by: Juan Pablo Cordero <[email protected]> * Update agrifoodpy/food/model.py Co-authored-by: Juan Pablo Cordero <[email protected]> * Update agrifoodpy/food/model.py removed land_dimension option Co-authored-by: Juan Pablo Cordero <[email protected]> * Update agrifoodpy/food/model.py Co-authored-by: Juan Pablo Cordero <[email protected]> * added unittest and characters limit * Update agrifoodpy/food/model.py Co-authored-by: Juan Pablo Cordero <[email protected]> * Update agrifoodpy/food/model.py Co-authored-by: Juan Pablo Cordero <[email protected]> * Update agrifoodpy/food/model.py Co-authored-by: Juan Pablo Cordero <[email protected]> * removed datablock and out_key from food_scaling_from_land --------- Co-authored-by: Juan Pablo Cordero <[email protected]>
* projecting food balance sheet by population * Removed stale tests * fixed docs, guards for zero denoms, consistent docs * changed labelling for no show parameters in plot functions * unit tests
* additional scalings and new parser constructor * updated docs
* multiple return keys for tuple returning functions * return key validation and tuple keys * fixed docstrings
* options for land plot * updated label values
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements several food system models and functionalities into AgriFoodPy:
Functionality:
Models:
YeardimensionChecklist