SWS-Methodology / faoswsProduction

Repository to contain the code for imputing production data in the statistical working system.
0 stars 1 forks source link

Apply shares when transfer animal slaughtered from livestock to meat #157

Closed mkao006 closed 8 years ago

mkao006 commented 8 years ago

Currently, the shares are only applied when transferred to offals, fat and hides. This does not make any sense and is inconsistent.

After a discussion with Luigi, he said that the share should be applied whenever possible. If the share is missing, then assign 100%.

The shares should apply for meat as well, this will allow the function transferAnimalSlaughtered and transferParentToChild to be merged.

mkao006 commented 8 years ago

Tomasz also clarified and said that share should be applied whenever passing or calculating values down the commodity tree.

mkao006 commented 8 years ago

The two function are merged, and now shares are applied to all transfer from animal to meat or other derived product of livestock.

Function merged in b6768512833b862b7278e8ca24577979e48b8aca Module modified in 1c82778244e2968438be5560a29a2a8f067f745f