@hestia-earth/engine-models 0.87.5 → 0.87.7

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/README.md CHANGED
@@ -61,6 +61,15 @@ We have models that can gap-fill geographical information on a `Site`. If you wa
61
61
  1. Install the library: `pip install hestia-earth-earth-engine`
62
62
  2. Follow the [Getting Started instructions](https://gitlab.com/hestia-earth/hestia-earth-engine#getting-started).
63
63
 
64
+ #### Disabling the standardised drought indices
65
+
66
+ The SPEI and SPI models run by default. Set the env variable `ENABLE_DROUGHT_INDEX` to `false` to turn them off.
67
+
68
+ They are fitted over a fixed climate reference period (1979-2020), so they also fetch
69
+ `precipitationMonthly` and `potentialEvapotranspirationMonthly` over that period rather than over the
70
+ `Site`'s own years only - four decades of monthly values per `Site`. Turning them off restores the
71
+ narrower window, which is the reason to do it on a self-hosted run.
72
+
64
73
  ### Collecting logs in JSON format
65
74
 
66
75
  :info: This is an experimental feature and is not yet integrated in all the HESTIA tools.
package/cjs/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ENGINE_VERSION = "0.87.5";
1
+ export declare const ENGINE_VERSION = "0.87.7";
package/cjs/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.87.5';
4
+ exports.ENGINE_VERSION = '0.87.7';
package/config/Cycle.json CHANGED
@@ -964,6 +964,30 @@
964
964
  "mergeStrategy": "list",
965
965
  "stage": 2
966
966
  },
967
+ {
968
+ "key": "transformations",
969
+ "model": "transformation",
970
+ "value": "completeness",
971
+ "runStrategy": "always",
972
+ "mergeStrategy": "list",
973
+ "stage": 2
974
+ },
975
+ {
976
+ "key": "transformations",
977
+ "model": "transformation",
978
+ "value": "completeness.excreta",
979
+ "runStrategy": "always",
980
+ "mergeStrategy": "list",
981
+ "stage": 2
982
+ },
983
+ {
984
+ "key": "completeness",
985
+ "model": "cycle",
986
+ "value": "completeness",
987
+ "runStrategy": "always",
988
+ "mergeStrategy": "node",
989
+ "stage": 2
990
+ },
967
991
  {
968
992
  "key": "emissions",
969
993
  "model": "cycle",
@@ -2400,6 +2424,66 @@
2400
2424
  "replaceThreshold": ["value", 0.01]
2401
2425
  },
2402
2426
  "stage": 2
2427
+ },
2428
+ {
2429
+ "key": "emissions",
2430
+ "model": "salca",
2431
+ "value": "heavyMetalsErosionInorganicFertiliser",
2432
+ "runStrategy": "add_blank_node_if_missing",
2433
+ "runArgs": {
2434
+ "runNonMeasured": true,
2435
+ "runNonAddedTerm": true
2436
+ },
2437
+ "mergeStrategy": "list",
2438
+ "mergeArgs": {
2439
+ "replaceThreshold": ["value", 0.01]
2440
+ },
2441
+ "stage": 2
2442
+ },
2443
+ {
2444
+ "key": "emissions",
2445
+ "model": "salca",
2446
+ "value": "heavyMetalsErosionSoilAmendment",
2447
+ "runStrategy": "add_blank_node_if_missing",
2448
+ "runArgs": {
2449
+ "runNonMeasured": true,
2450
+ "runNonAddedTerm": true
2451
+ },
2452
+ "mergeStrategy": "list",
2453
+ "mergeArgs": {
2454
+ "replaceThreshold": ["value", 0.01]
2455
+ },
2456
+ "stage": 2
2457
+ },
2458
+ {
2459
+ "key": "emissions",
2460
+ "model": "salca",
2461
+ "value": "heavyMetalsErosionOrganicFertiliser",
2462
+ "runStrategy": "add_blank_node_if_missing",
2463
+ "runArgs": {
2464
+ "runNonMeasured": true,
2465
+ "runNonAddedTerm": true
2466
+ },
2467
+ "mergeStrategy": "list",
2468
+ "mergeArgs": {
2469
+ "replaceThreshold": ["value", 0.01]
2470
+ },
2471
+ "stage": 2
2472
+ },
2473
+ {
2474
+ "key": "emissions",
2475
+ "model": "salca",
2476
+ "value": "heavyMetalsErosionPesticideApplication",
2477
+ "runStrategy": "add_blank_node_if_missing",
2478
+ "runArgs": {
2479
+ "runNonMeasured": true,
2480
+ "runNonAddedTerm": true
2481
+ },
2482
+ "mergeStrategy": "list",
2483
+ "mergeArgs": {
2484
+ "replaceThreshold": ["value", 0.01]
2485
+ },
2486
+ "stage": 2
2403
2487
  }
2404
2488
  ],
2405
2489
  [
@@ -67,17 +67,6 @@
67
67
  },
68
68
  "stage": 1
69
69
  },
70
- {
71
- "key": "emissionsResourceUse",
72
- "model": "pooreNemecek2018",
73
- "value": "landOccupationDuringCycle",
74
- "runStrategy": "add_blank_node_if_missing",
75
- "mergeStrategy": "list",
76
- "mergeArgs": {
77
- "replaceThreshold": ["value", 0.01]
78
- },
79
- "stage": 1
80
- },
81
70
  [
82
71
  {
83
72
  "key": "emissionsResourceUse",
@@ -508,6 +497,18 @@
508
497
  "sameMethodModel": true
509
498
  },
510
499
  "stage": 1
500
+ },
501
+ {
502
+ "key": "impacts",
503
+ "model": "environmentalFootprintV3-1",
504
+ "value": "freshwaterEutrophicationPotential",
505
+ "runStrategy": "always",
506
+ "mergeStrategy": "list",
507
+ "mergeArgs": {
508
+ "replaceThreshold": ["value", 0.01],
509
+ "sameMethodModel": true
510
+ },
511
+ "stage": 1
511
512
  }
512
513
  ],
513
514
  [
package/esm/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const ENGINE_VERSION = "0.87.5";
1
+ export declare const ENGINE_VERSION = "0.87.7";
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export const ENGINE_VERSION = '0.87.5';
1
+ export const ENGINE_VERSION = '0.87.7';