@welldot/core 0.4.0 → 0.5.0
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 +59 -19
- package/dist/index.cjs +344 -178
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9203 -5704
- package/dist/index.d.ts +9203 -5704
- package/dist/index.js +334 -178
- package/dist/index.js.map +1 -1
- package/docs/reference/fgdc-textures.md +15 -0
- package/docs/schema/v2/well.schema.json +128 -11
- package/docs/spec/v1/well-format.md +26 -0
- package/docs/spec/v2/format-reference.md +170 -45
- package/docs/spec/v2/interoperability.md +25 -4
- package/docs/spec/v2/object-schemas.md +243 -96
- package/docs/spec/v2/overview.md +92 -9
- package/docs/spec/v2/water-quality.md +26 -3
- package/examples/README.md +12 -0
- package/examples/belem-pa-condominio-outorga.well +2 -1
- package/examples/belem-pa-monitoramento-posto.well +2 -1
- package/examples/belem-pa-pirabas-abastecimento.well +2 -2
- package/examples/belem-pa-poco-colmatado.well +2 -1
- package/examples/belem-pa-poco-raso-abandonado.well +2 -1
- package/examples/belem-pa-qualidade-agua-acida.well +2 -1
- package/examples/colatina-es-gnaisse-rural.well +2 -2
- package/examples/coluna-mg-cristalino-abastecimento.well +2 -2
- package/examples/estrela-doeste-sp-bauru-serra-geral.well +2 -1
- package/examples/extremoz-rn-barreiras-raso.well +2 -1
- package/examples/gastao-vidigal-sp-dados-inconsistentes.well +2 -1
- package/examples/irece-ba-carste-bambui.well +2 -1
- package/examples/lagoa-santa-mg-carste-abastecimento.well +2 -2
- package/examples/minas-novas-mg-cadastro-incompleto.well +2 -1
- package/examples/quixeramobim-ce-cristalino-salobro.well +2 -2
- package/examples/rinopolis-sp-estratigrafico-guarani.well +2 -1
- package/examples/santarem-pa-jorrante-alter-do-chao.well +2 -1
- package/examples/sao-gabriel-rs-cacimba.well +2 -1
- package/examples/sete-lagoas-mg-carste-industrial.well +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# FGDC Texture Patterns Reference
|
|
2
2
|
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
3
5
|
This document lists all texture patterns available in `FGDC_TEXTURES_OPTIONS` from `@welldot/core`. These codes follow the **FGDC (Federal Geographic Data Committee)** digital cartographic standard for geologic map symbolization.
|
|
4
6
|
|
|
5
7
|
Use a `code` value in the `texture` field of a `Lithology` record to assign a pattern to a depth interval.
|
|
@@ -19,6 +21,19 @@ const available = FGDC_TEXTURES_OPTIONS.filter(t => !t.pending);
|
|
|
19
21
|
>
|
|
20
22
|
> Currently **120 of 282 textures** are available: all of Series 600 (84) and Series 700 (33), plus codes 120, 123, and 132 from Series 100.
|
|
21
23
|
|
|
24
|
+
The patterns are grouped by FGDC series below. Each table lists the code and label of every pattern, and the summary at the end gives the available and pending counts per series.
|
|
25
|
+
|
|
26
|
+
## Table of contents
|
|
27
|
+
|
|
28
|
+
- [Series 100 — Surficial Patterns](#series-100--surficial-patterns)
|
|
29
|
+
- [Series 200 — Sedimentary Patterns](#series-200--sedimentary-patterns)
|
|
30
|
+
- [Series 300 — Igneous Patterns](#series-300--igneous-patterns)
|
|
31
|
+
- [Series 400 — Miscellaneous and Metamorphic Patterns](#series-400--miscellaneous-and-metamorphic-patterns)
|
|
32
|
+
- [Series 500 — Glacial and Periglacial Patterns](#series-500--glacial-and-periglacial-patterns)
|
|
33
|
+
- [Series 600 — Sedimentary Lithology Patterns](#series-600--sedimentary-lithology-patterns)
|
|
34
|
+
- [Series 700 — Metamorphic and Igneous Lithology Patterns](#series-700--metamorphic-and-igneous-lithology-patterns)
|
|
35
|
+
- [Summary](#summary)
|
|
36
|
+
|
|
22
37
|
---
|
|
23
38
|
|
|
24
39
|
## Series 100 — Surficial Patterns
|
|
@@ -6,7 +6,16 @@
|
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"version": {
|
|
9
|
-
"
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "integer",
|
|
12
|
+
"minimum": 0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "string",
|
|
16
|
+
"pattern": "^\\d+\\.\\d+$"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
10
19
|
},
|
|
11
20
|
"@context": {
|
|
12
21
|
"anyOf": [
|
|
@@ -77,6 +86,9 @@
|
|
|
77
86
|
},
|
|
78
87
|
"original_crs": {
|
|
79
88
|
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"timezone": {
|
|
91
|
+
"type": "string"
|
|
80
92
|
}
|
|
81
93
|
},
|
|
82
94
|
"additionalProperties": false
|
|
@@ -583,6 +595,10 @@
|
|
|
583
595
|
"elapsed": {
|
|
584
596
|
"type": "number"
|
|
585
597
|
},
|
|
598
|
+
"datetime": {
|
|
599
|
+
"type": "string",
|
|
600
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})$"
|
|
601
|
+
},
|
|
586
602
|
"depth": {
|
|
587
603
|
"type": "number"
|
|
588
604
|
},
|
|
@@ -605,8 +621,7 @@
|
|
|
605
621
|
"rate"
|
|
606
622
|
],
|
|
607
623
|
"additionalProperties": false
|
|
608
|
-
}
|
|
609
|
-
"maxItems": 1
|
|
624
|
+
}
|
|
610
625
|
},
|
|
611
626
|
"recovery": {
|
|
612
627
|
"type": "object",
|
|
@@ -671,8 +686,6 @@
|
|
|
671
686
|
},
|
|
672
687
|
"steps": {
|
|
673
688
|
"type": "array",
|
|
674
|
-
"minItems": 1,
|
|
675
|
-
"maxItems": 1,
|
|
676
689
|
"items": {
|
|
677
690
|
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/steps/items"
|
|
678
691
|
}
|
|
@@ -840,6 +853,114 @@
|
|
|
840
853
|
"recovery"
|
|
841
854
|
],
|
|
842
855
|
"additionalProperties": false
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"type": "object",
|
|
859
|
+
"properties": {
|
|
860
|
+
"id": {
|
|
861
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/id"
|
|
862
|
+
},
|
|
863
|
+
"type": {
|
|
864
|
+
"type": "string",
|
|
865
|
+
"const": "logger_series"
|
|
866
|
+
},
|
|
867
|
+
"datetime": {
|
|
868
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/datetime"
|
|
869
|
+
},
|
|
870
|
+
"sequence": {
|
|
871
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/sequence"
|
|
872
|
+
},
|
|
873
|
+
"operator": {
|
|
874
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/operator"
|
|
875
|
+
},
|
|
876
|
+
"equipment": {
|
|
877
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/equipment"
|
|
878
|
+
},
|
|
879
|
+
"notes": {
|
|
880
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/notes"
|
|
881
|
+
},
|
|
882
|
+
"corrects": {
|
|
883
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/corrects"
|
|
884
|
+
},
|
|
885
|
+
"attachments": {
|
|
886
|
+
"$ref": "#/properties/hydrodynamic_events/items/anyOf/0/anyOf/0/properties/attachments"
|
|
887
|
+
},
|
|
888
|
+
"measurement_method": {
|
|
889
|
+
"type": "string"
|
|
890
|
+
},
|
|
891
|
+
"sensor_depth": {
|
|
892
|
+
"type": "number"
|
|
893
|
+
},
|
|
894
|
+
"interval": {
|
|
895
|
+
"type": "number",
|
|
896
|
+
"exclusiveMinimum": 0
|
|
897
|
+
},
|
|
898
|
+
"barometric_compensation": {
|
|
899
|
+
"type": "string",
|
|
900
|
+
"enum": [
|
|
901
|
+
"barologger",
|
|
902
|
+
"vented",
|
|
903
|
+
"none"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
906
|
+
"aggregation": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"enum": [
|
|
909
|
+
"none",
|
|
910
|
+
"hourly",
|
|
911
|
+
"daily"
|
|
912
|
+
]
|
|
913
|
+
},
|
|
914
|
+
"readings": {
|
|
915
|
+
"type": "array",
|
|
916
|
+
"items": {
|
|
917
|
+
"type": "object",
|
|
918
|
+
"properties": {
|
|
919
|
+
"datetime": {
|
|
920
|
+
"type": "string",
|
|
921
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})$"
|
|
922
|
+
},
|
|
923
|
+
"elapsed": {
|
|
924
|
+
"not": {}
|
|
925
|
+
},
|
|
926
|
+
"depth": {
|
|
927
|
+
"type": "number"
|
|
928
|
+
},
|
|
929
|
+
"depth_precision": {
|
|
930
|
+
"type": "number"
|
|
931
|
+
},
|
|
932
|
+
"pressure": {
|
|
933
|
+
"type": "number"
|
|
934
|
+
},
|
|
935
|
+
"depth_min": {
|
|
936
|
+
"type": "number"
|
|
937
|
+
},
|
|
938
|
+
"depth_max": {
|
|
939
|
+
"type": "number"
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
"required": [
|
|
943
|
+
"datetime",
|
|
944
|
+
"depth"
|
|
945
|
+
],
|
|
946
|
+
"additionalProperties": false
|
|
947
|
+
},
|
|
948
|
+
"minItems": 1
|
|
949
|
+
},
|
|
950
|
+
"steps": {
|
|
951
|
+
"not": {}
|
|
952
|
+
},
|
|
953
|
+
"recovery": {
|
|
954
|
+
"not": {}
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"required": [
|
|
958
|
+
"id",
|
|
959
|
+
"type",
|
|
960
|
+
"datetime",
|
|
961
|
+
"readings"
|
|
962
|
+
],
|
|
963
|
+
"additionalProperties": false
|
|
843
964
|
}
|
|
844
965
|
]
|
|
845
966
|
},
|
|
@@ -945,10 +1066,7 @@
|
|
|
945
1066
|
"type": "number"
|
|
946
1067
|
},
|
|
947
1068
|
"storativity": {
|
|
948
|
-
"type":
|
|
949
|
-
"number",
|
|
950
|
-
"null"
|
|
951
|
-
]
|
|
1069
|
+
"type": "number"
|
|
952
1070
|
},
|
|
953
1071
|
"hydraulic_conductivity": {
|
|
954
1072
|
"type": "number"
|
|
@@ -1658,8 +1776,7 @@
|
|
|
1658
1776
|
},
|
|
1659
1777
|
"daily_operating_time": {
|
|
1660
1778
|
"type": "number",
|
|
1661
|
-
"minimum": 0
|
|
1662
|
-
"maximum": 24
|
|
1779
|
+
"minimum": 0
|
|
1663
1780
|
},
|
|
1664
1781
|
"days_per_week": {
|
|
1665
1782
|
"type": "integer",
|
|
@@ -5,6 +5,32 @@
|
|
|
5
5
|
**Encoding:** UTF-8
|
|
6
6
|
**Base format:** JSON
|
|
7
7
|
|
|
8
|
+
## Overview
|
|
9
|
+
|
|
10
|
+
This is the specification of version 1 of the `.well` format: one JSON file that holds the static record of one water well, its identity, construction (borehole, casing, screens, fills, cement pad) and geology (lithology, fractures, caves). v1 is stable and kept for reference. New files use version 2, described in [../v2/overview.md](../v2/overview.md); `deserializeWell()` in `@welldot/core` reads v1 files and normalizes them to v2.
|
|
11
|
+
|
|
12
|
+
## Table of contents
|
|
13
|
+
|
|
14
|
+
- [Purpose](#purpose)
|
|
15
|
+
- [Design Principles](#design-principles)
|
|
16
|
+
- [File Structure](#file-structure)
|
|
17
|
+
- [Top-level Fields](#top-level-fields)
|
|
18
|
+
- [`well_type` — Recommended values](#well_type--recommended-values)
|
|
19
|
+
- [Object Schemas](#object-schemas)
|
|
20
|
+
- [`BoreHole` — `bore_hole[]`](#borehole--bore_hole)
|
|
21
|
+
- [`WellCase` — `well_case[]`](#wellcase--well_case)
|
|
22
|
+
- [`Reduction` — `reduction[]`](#reduction--reduction)
|
|
23
|
+
- [`WellScreen` — `well_screen[]`](#wellscreen--well_screen)
|
|
24
|
+
- [`SurfaceCase` — `surface_case[]`](#surfacecase--surface_case)
|
|
25
|
+
- [`HoleFill` — `hole_fill[]`](#holefill--hole_fill)
|
|
26
|
+
- [`CementPad` — `cement_pad`](#cementpad--cement_pad)
|
|
27
|
+
- [`Lithology` — `lithology[]`](#lithology--lithology)
|
|
28
|
+
- [`Fracture` — `fractures[]`](#fracture--fractures)
|
|
29
|
+
- [`Cave` — `caves[]`](#cave--caves)
|
|
30
|
+
- [Complete Example](#complete-example)
|
|
31
|
+
- [Versioning](#versioning)
|
|
32
|
+
- [MIME Type](#mime-type)
|
|
33
|
+
|
|
8
34
|
---
|
|
9
35
|
|
|
10
36
|
## Purpose
|