@hestia-earth/engine-models 0.70.2 → 0.70.4

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.
package/config/Cycle.json CHANGED
@@ -182,6 +182,14 @@
182
182
  "mergeStrategy": "list",
183
183
  "stage": 1
184
184
  },
185
+ {
186
+ "key": "practices",
187
+ "model": "cycle",
188
+ "value": "practice.landCover",
189
+ "runStrategy": "always",
190
+ "mergeStrategy": "list",
191
+ "stage": 1
192
+ },
185
193
  {
186
194
  "key": "products",
187
195
  "model": "hestia",
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ENGINE_VERSION = "0.70.2";
1
+ export declare const ENGINE_VERSION = "0.70.4";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ENGINE_VERSION = void 0;
4
- exports.ENGINE_VERSION = '0.70.2';
4
+ exports.ENGINE_VERSION = '0.70.4';
package/model-links.json CHANGED
@@ -274,6 +274,12 @@
274
274
  "model": "cycle",
275
275
  "modelKey": "input.value"
276
276
  },
277
+ {
278
+ "path": "hestia_earth/models/cycle/practice/landCover.py",
279
+ "docPath": "hestia_earth/models/cycle/practice/landCover.md",
280
+ "model": "cycle",
281
+ "modelKey": "practice.landCover"
282
+ },
277
283
  {
278
284
  "path": "hestia_earth/models/cycle/practice/value.py",
279
285
  "docPath": "hestia_earth/models/cycle/practice/value.md",
@@ -6021,6 +6027,30 @@
6021
6027
  "term": "n2OToAirOrganicSoilCultivationDirect"
6022
6028
  }
6023
6029
  ],
6030
+ "landCoverTermId": [
6031
+ {
6032
+ "model": "cycle",
6033
+ "modelKey": "practice.landCover"
6034
+ },
6035
+ {
6036
+ "model": "hestia",
6037
+ "modelKey": "management"
6038
+ },
6039
+ {
6040
+ "model": "hestia",
6041
+ "modelKey": "seed_emissions"
6042
+ }
6043
+ ],
6044
+ "maximumCycleDuration": [
6045
+ {
6046
+ "model": "cycle",
6047
+ "modelKey": "practice.landCover"
6048
+ },
6049
+ {
6050
+ "model": "hestia",
6051
+ "modelKey": "management"
6052
+ }
6053
+ ],
6024
6054
  "global_economic_value_share": [
6025
6055
  {
6026
6056
  "model": "cycle",
@@ -6105,22 +6135,6 @@
6105
6135
  "term": "organicCarbonPerHa"
6106
6136
  }
6107
6137
  ],
6108
- "landCoverTermId": [
6109
- {
6110
- "model": "hestia",
6111
- "modelKey": "management"
6112
- },
6113
- {
6114
- "model": "hestia",
6115
- "modelKey": "seed_emissions"
6116
- }
6117
- ],
6118
- "maximumCycleDuration": [
6119
- {
6120
- "model": "hestia",
6121
- "modelKey": "management"
6122
- }
6123
- ],
6124
6138
  "correspondingSeedTermIds": [
6125
6139
  {
6126
6140
  "model": "hestia",
@@ -6723,34 +6737,38 @@
6723
6737
  "modelKey": "product.properties"
6724
6738
  }
6725
6739
  ],
6726
- "commonToSupplementInAnimalFeed": [
6740
+ "GAP_FILL_TO_MANAGEMENT": [
6727
6741
  {
6728
- "model": "hestia",
6729
- "term": "concentrateFeedBlend"
6742
+ "model": "cycle",
6743
+ "modelKey": "practice.landCover"
6730
6744
  },
6731
6745
  {
6732
6746
  "model": "hestia",
6733
- "term": "concentrateFeedUnspecified"
6747
+ "modelKey": "management"
6748
+ }
6749
+ ],
6750
+ "CALCULATE_TOTAL_LAND_COVER_SHARE_SEPARATELY": [
6751
+ {
6752
+ "model": "cycle",
6753
+ "modelKey": "practice.landCover"
6734
6754
  },
6735
6755
  {
6736
6756
  "model": "hestia",
6737
- "term": "feedMix"
6757
+ "modelKey": "landCover"
6738
6758
  }
6739
6759
  ],
6740
- "CALCULATE_TOTAL_LAND_COVER_SHARE_SEPARATELY": [
6760
+ "commonToSupplementInAnimalFeed": [
6741
6761
  {
6742
6762
  "model": "hestia",
6743
- "modelKey": "landCover"
6763
+ "term": "concentrateFeedBlend"
6744
6764
  },
6745
6765
  {
6746
6766
  "model": "hestia",
6747
- "modelKey": "management"
6748
- }
6749
- ],
6750
- "GAP_FILL_TO_MANAGEMENT": [
6767
+ "term": "concentrateFeedUnspecified"
6768
+ },
6751
6769
  {
6752
6770
  "model": "hestia",
6753
- "modelKey": "management"
6771
+ "term": "feedMix"
6754
6772
  }
6755
6773
  ]
6756
6774
  },
@@ -6788,6 +6806,132 @@
6788
6806
  }
6789
6807
  ]
6790
6808
  },
6809
+ "forage": {
6810
+ "landCoverTermId": [
6811
+ {
6812
+ "model": "cycle",
6813
+ "modelKey": "practice.landCover"
6814
+ },
6815
+ {
6816
+ "model": "hestia",
6817
+ "modelKey": "management"
6818
+ }
6819
+ ],
6820
+ "ecoalimMapping": [
6821
+ {
6822
+ "model": "ecoalimV9",
6823
+ "modelKey": "cycle"
6824
+ },
6825
+ {
6826
+ "model": "ecoalimV9",
6827
+ "modelKey": "impact_assessment"
6828
+ }
6829
+ ],
6830
+ "IPCC_2019_Ratio_AGRes_YieldDM": [
6831
+ {
6832
+ "model": "ipcc2019",
6833
+ "term": "aboveGroundCropResidueTotal"
6834
+ },
6835
+ {
6836
+ "model": "ipcc2019",
6837
+ "term": "belowGroundCropResidue"
6838
+ },
6839
+ {
6840
+ "model": "ipcc2019",
6841
+ "term": "carbonContent"
6842
+ },
6843
+ {
6844
+ "model": "ipcc2019",
6845
+ "term": "ligninContent"
6846
+ },
6847
+ {
6848
+ "model": "ipcc2019",
6849
+ "term": "nitrogenContent"
6850
+ }
6851
+ ],
6852
+ "IPCC_2019_Ratio_BGRes_AGRes": [
6853
+ {
6854
+ "model": "ipcc2019",
6855
+ "term": "belowGroundCropResidue"
6856
+ },
6857
+ {
6858
+ "model": "ipcc2019",
6859
+ "term": "carbonContent"
6860
+ },
6861
+ {
6862
+ "model": "ipcc2019",
6863
+ "term": "ligninContent"
6864
+ },
6865
+ {
6866
+ "model": "ipcc2019",
6867
+ "term": "nitrogenContent"
6868
+ }
6869
+ ],
6870
+ "C_CONTENT_AG_CROP_RESIDUE": [
6871
+ {
6872
+ "model": "ipcc2019",
6873
+ "term": "carbonContent"
6874
+ }
6875
+ ],
6876
+ "C_CONTENT_BG_CROP_RESIDUE": [
6877
+ {
6878
+ "model": "ipcc2019",
6879
+ "term": "carbonContent"
6880
+ }
6881
+ ],
6882
+ "isPlantation": [
6883
+ {
6884
+ "model": "ipcc2019",
6885
+ "term": "ch4ToAirOrganicSoilCultivation"
6886
+ },
6887
+ {
6888
+ "model": "ipcc2019",
6889
+ "term": "co2ToAirOrganicSoilCultivation"
6890
+ },
6891
+ {
6892
+ "model": "ipcc2019",
6893
+ "term": "n2OToAirOrganicSoilCultivationDirect"
6894
+ }
6895
+ ],
6896
+ "IPCC_2013_ORGANIC_SOIL_CULTIVATION_CATEGORY": [
6897
+ {
6898
+ "model": "ipcc2019",
6899
+ "term": "ch4ToAirOrganicSoilCultivation"
6900
+ },
6901
+ {
6902
+ "model": "ipcc2019",
6903
+ "term": "co2ToAirOrganicSoilCultivation"
6904
+ },
6905
+ {
6906
+ "model": "ipcc2019",
6907
+ "term": "n2OToAirOrganicSoilCultivationDirect"
6908
+ }
6909
+ ],
6910
+ "LIGNIN_CONTENT_AG_CROP_RESIDUE": [
6911
+ {
6912
+ "model": "ipcc2019",
6913
+ "term": "ligninContent"
6914
+ }
6915
+ ],
6916
+ "LIGNIN_CONTENT_BG_CROP_RESIDUE": [
6917
+ {
6918
+ "model": "ipcc2019",
6919
+ "term": "ligninContent"
6920
+ }
6921
+ ],
6922
+ "N_Content_AG_Residue": [
6923
+ {
6924
+ "model": "ipcc2019",
6925
+ "term": "nitrogenContent"
6926
+ }
6927
+ ],
6928
+ "N_Content_BG_Residue": [
6929
+ {
6930
+ "model": "ipcc2019",
6931
+ "term": "nitrogenContent"
6932
+ }
6933
+ ]
6934
+ },
6791
6935
  "excreta": {
6792
6936
  "global_economic_value_share": [
6793
6937
  {
@@ -6960,128 +7104,6 @@
6960
7104
  }
6961
7105
  ]
6962
7106
  },
6963
- "forage": {
6964
- "ecoalimMapping": [
6965
- {
6966
- "model": "ecoalimV9",
6967
- "modelKey": "cycle"
6968
- },
6969
- {
6970
- "model": "ecoalimV9",
6971
- "modelKey": "impact_assessment"
6972
- }
6973
- ],
6974
- "landCoverTermId": [
6975
- {
6976
- "model": "hestia",
6977
- "modelKey": "management"
6978
- }
6979
- ],
6980
- "IPCC_2019_Ratio_AGRes_YieldDM": [
6981
- {
6982
- "model": "ipcc2019",
6983
- "term": "aboveGroundCropResidueTotal"
6984
- },
6985
- {
6986
- "model": "ipcc2019",
6987
- "term": "belowGroundCropResidue"
6988
- },
6989
- {
6990
- "model": "ipcc2019",
6991
- "term": "carbonContent"
6992
- },
6993
- {
6994
- "model": "ipcc2019",
6995
- "term": "ligninContent"
6996
- },
6997
- {
6998
- "model": "ipcc2019",
6999
- "term": "nitrogenContent"
7000
- }
7001
- ],
7002
- "IPCC_2019_Ratio_BGRes_AGRes": [
7003
- {
7004
- "model": "ipcc2019",
7005
- "term": "belowGroundCropResidue"
7006
- },
7007
- {
7008
- "model": "ipcc2019",
7009
- "term": "carbonContent"
7010
- },
7011
- {
7012
- "model": "ipcc2019",
7013
- "term": "ligninContent"
7014
- },
7015
- {
7016
- "model": "ipcc2019",
7017
- "term": "nitrogenContent"
7018
- }
7019
- ],
7020
- "C_CONTENT_AG_CROP_RESIDUE": [
7021
- {
7022
- "model": "ipcc2019",
7023
- "term": "carbonContent"
7024
- }
7025
- ],
7026
- "C_CONTENT_BG_CROP_RESIDUE": [
7027
- {
7028
- "model": "ipcc2019",
7029
- "term": "carbonContent"
7030
- }
7031
- ],
7032
- "isPlantation": [
7033
- {
7034
- "model": "ipcc2019",
7035
- "term": "ch4ToAirOrganicSoilCultivation"
7036
- },
7037
- {
7038
- "model": "ipcc2019",
7039
- "term": "co2ToAirOrganicSoilCultivation"
7040
- },
7041
- {
7042
- "model": "ipcc2019",
7043
- "term": "n2OToAirOrganicSoilCultivationDirect"
7044
- }
7045
- ],
7046
- "IPCC_2013_ORGANIC_SOIL_CULTIVATION_CATEGORY": [
7047
- {
7048
- "model": "ipcc2019",
7049
- "term": "ch4ToAirOrganicSoilCultivation"
7050
- },
7051
- {
7052
- "model": "ipcc2019",
7053
- "term": "co2ToAirOrganicSoilCultivation"
7054
- },
7055
- {
7056
- "model": "ipcc2019",
7057
- "term": "n2OToAirOrganicSoilCultivationDirect"
7058
- }
7059
- ],
7060
- "LIGNIN_CONTENT_AG_CROP_RESIDUE": [
7061
- {
7062
- "model": "ipcc2019",
7063
- "term": "ligninContent"
7064
- }
7065
- ],
7066
- "LIGNIN_CONTENT_BG_CROP_RESIDUE": [
7067
- {
7068
- "model": "ipcc2019",
7069
- "term": "ligninContent"
7070
- }
7071
- ],
7072
- "N_Content_AG_Residue": [
7073
- {
7074
- "model": "ipcc2019",
7075
- "term": "nitrogenContent"
7076
- }
7077
- ],
7078
- "N_Content_BG_Residue": [
7079
- {
7080
- "model": "ipcc2019",
7081
- "term": "nitrogenContent"
7082
- }
7083
- ]
7084
- },
7085
7107
  "feedFoodAdditive": {
7086
7108
  "ecoalimMapping": [
7087
7109
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/engine-models",
3
- "version": "0.70.2",
3
+ "version": "0.70.4",
4
4
  "description": "HESTIA Engine Models",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -46,15 +46,15 @@
46
46
  "@hestia-earth/schema": "*"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/preset-typescript": "^7.27.0",
50
- "@commitlint/cli": "^19.8.0",
51
- "@commitlint/config-conventional": "^19.8.0",
52
- "@hestia-earth/api": "^0.24.77",
49
+ "@babel/preset-typescript": "^7.27.1",
50
+ "@commitlint/cli": "^19.8.1",
51
+ "@commitlint/config-conventional": "^19.8.1",
52
+ "@hestia-earth/api": "^0.24.78",
53
53
  "@hestia-earth/eslint-config": "^0.1.0",
54
- "@hestia-earth/json-schema": "^31.4.1",
55
- "@hestia-earth/schema": "^31.4.1",
56
- "@hestia-earth/schema-validation": "^31.4.1",
57
- "@hestia-earth/utils": "^0.14.0",
54
+ "@hestia-earth/json-schema": "^32.0.1",
55
+ "@hestia-earth/schema": "^32.0.1",
56
+ "@hestia-earth/schema-validation": "^32.0.1",
57
+ "@hestia-earth/utils": "^0.14.3",
58
58
  "@jest/globals": "^29.7.0",
59
59
  "@typescript-eslint/eslint-plugin": "^5.62.0",
60
60
  "@typescript-eslint/parser": "^5.62.0",
@@ -62,7 +62,7 @@
62
62
  "ajv-cli": "^5.0.0",
63
63
  "ajv-formats": "^3.0.1",
64
64
  "aws-sdk": "^2.1692.0",
65
- "axios": "^1.8.4",
65
+ "axios": "^1.9.0",
66
66
  "capitalize": "^2.0.4",
67
67
  "csvtojson": "^2.0.10",
68
68
  "dotenv": "^8.6.0",
@@ -73,7 +73,7 @@
73
73
  "lodash.merge": "^4.6.2",
74
74
  "pluralize": "^8.0.0",
75
75
  "standard-version": "^9.5.0",
76
- "ts-jest": "^29.3.1"
76
+ "ts-jest": "^29.3.2"
77
77
  },
78
78
  "standard-version": {
79
79
  "scripts": {