Skip to content

Commit 9cd0b66

Browse files
committed
+ Metadata w/ EML diagram
1 parent a4da109 commit 9cd0b66

File tree

1 file changed

+57
-1
lines changed

1 file changed

+57
-1
lines changed

portals.qmd

+57-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ While it would be ideal for CalCOFI data to be available through a single portal
2626
graph TD
2727
%% nodes with styles
2828
raw([raw data]):::source
29-
db[(database)]:::database
3029
3130
subgraph calcofi[CalCOFI.io]
31+
db[(database)]:::database
3232
web[calcofi.org]:::website
3333
api[APIs]:::api
3434
lib[library]:::code
@@ -142,6 +142,62 @@ In practice, CalCOFI is a partnership with various contributing members, so the
142142
- [ERDDAP, OceanView - CalCOFI seabirds](https://oceanview.pfeg.noaa.gov/erddap/search/index.html?page=1&itemsPerPage=1000&searchFor=seabird+CalCOFI)
143143
- [ERDDAP, CoastWatch - CalCOFI oceanographic](https://coastwatch.pfeg.noaa.gov/erddap/search/index.html?page=1&itemsPerPage=1000&searchFor=CalCOFI)
144144

145+
## Metadata
146+
147+
The [Ecological Metadata Language (EML)](https://eml.ecoinformatics.org/) (and using R package [EML](https://docs.ropensci.org/EML/) in workflows) serves as a key standard for describing ecological and environmental data. For CalCOFI, EML metadata files are generated alongside data files, providing structured documentation that enables interoperability across different data portals. This metadata-driven approach allows automated ingestion into various data systems while maintaining data integrity and provenance.
148+
149+
```{mermaid}
150+
%%{init: {
151+
'theme': 'base',
152+
'themeVariables': {
153+
'primaryColor': '#E0E7FF',
154+
'primaryTextColor': '#312E81',
155+
'primaryBorderColor': '#6366F1',
156+
'lineColor': '#818CF8',
157+
'secondaryColor': '#FEF3C7',
158+
'tertiaryColor': '#ECFDF5'
159+
}
160+
}}%%
161+
graph LR
162+
subgraph inputs[Data & Metadata]
163+
data([data.csv]):::source
164+
eml[metadata.eml]:::database
165+
end
166+
167+
subgraph portals[Data Portals]
168+
edi[EDI]:::portal
169+
erddap[ERDDAP]:::portal
170+
obis[OBIS]:::portal
171+
ncei[NCEI]:::portal
172+
end
173+
174+
data --> eml
175+
eml --> edi
176+
eml --> erddap
177+
eml --> obis
178+
eml --> ncei
179+
180+
%% Custom styles
181+
classDef source fill:#E0E7FF,stroke:#6366F1,stroke-width:2px
182+
classDef database fill:#FEF3C7,stroke:#D97706,stroke-width:2px
183+
classDef portal fill:#F0FDF4,stroke:#22C55E,stroke-width:2px
184+
185+
%% Style subgraphs
186+
style inputs fill:#F8FAFC,stroke:#CBD5E1,stroke-width:2px
187+
style portals fill:#F8FAFC,stroke:#CBD5E1,stroke-width:2px
188+
```
189+
190+
The EML specification provides detailed structure for describing datasets, including:
191+
192+
- Dataset identification and citation
193+
- Geographic and temporal coverage
194+
- Variable definitions and units
195+
- Methods and protocols
196+
- Quality control procedures
197+
- Access and usage rights
198+
199+
This standardized metadata enables automated data transformation and ingestion into various portal systems while preserving the original data context and quality information.
200+
145201
## Meta-Portals
146202

147203
### Google Dataset Search

0 commit comments

Comments
 (0)