|
| 1 | +# Data Library Entry Style Sheet |
| 2 | + |
| 3 | +This guide describes how to structure a dataset entry in the data library. |
| 4 | +It expands on repository conventions and highlights preferred tooling and |
| 5 | +presentation patterns. |
| 6 | + |
| 7 | +## 1. Plain‑language overview |
| 8 | +* Start every entry with a short, jargon‑free description of the dataset. |
| 9 | +* Explain what the data represent, who created them, and why they exist. |
| 10 | +* Describe how the data help answer real‑world questions or support |
| 11 | + professional decisions. |
| 12 | + |
| 13 | +## 2. Use cases and citations |
| 14 | +* List several ways the dataset has been or could be used. |
| 15 | +* Whenever a concrete use case is documented, provide a verifiable link or |
| 16 | + citation to the study, report, or application. |
| 17 | +* Keep claims factual; avoid unverifiable anecdotes or marketing language. |
| 18 | + |
| 19 | +## 3. Harmonization guidance |
| 20 | +* Note spatial/temporal resolution, coordinate reference system, units, and |
| 21 | + naming conventions so users can align the dataset with others. |
| 22 | +* Mention common companion datasets and any known schema or variable |
| 23 | + mappings. |
| 24 | +* Include guidance on resampling, reprojection, or transformation steps if |
| 25 | + harmonization requires them. |
| 26 | + |
| 27 | +## 4. Stream‑first data access |
| 28 | +* Provide streaming instructions before suggesting local downloads. |
| 29 | +* Prefer [STAC](https://stacspec.org) catalogs and GDAL's virtual file |
| 30 | + systems (e.g., `vsicurl`, `vsis3`) for remote access. |
| 31 | +* Document required authentication and show how to keep credentials outside |
| 32 | + the code (environment variables or config files). |
| 33 | + |
| 34 | +## 5. Bilingual examples |
| 35 | +* Every code example appears in **Python first** followed by an **R** |
| 36 | + translation. |
| 37 | +* Use [lexcube](https://github.com/earthdata/lexcube) for interactive Python |
| 38 | + sessions when possible. |
| 39 | +* Keep code blocks minimal, runnable, and commented. |
| 40 | + |
| 41 | +## 6. Visual confirmation |
| 42 | +* After a data connection is established, provide a quick visual check: |
| 43 | + * **Maps:** render a static PNG map that can display in the documentation. |
| 44 | + * **Tables:** print the first 10 rows using `head()` or equivalent. |
| 45 | +* Avoid interactive widgets that fail in static build environments. |
| 46 | + |
| 47 | +## 7. Metadata, licensing, and provenance |
| 48 | +* Record source URL, version number, change log, license, and update |
| 49 | + frequency. |
| 50 | +* State any usage constraints or attribution requirements linked to the |
| 51 | + license. |
| 52 | +* Provide contact or maintainer information. |
| 53 | +* Include a data dictionary or variable table when feasible. |
| 54 | +* Mention limitations, quality flags, or known issues. |
| 55 | + |
| 56 | +## 8. Reproducibility resources |
| 57 | +* Share notebooks, scripts, or workflow files that reproduce key examples. |
| 58 | +* For large datasets, reference partial copies or recommended access paths so |
| 59 | + examples run quickly. |
| 60 | +* Note software or environment prerequisites when relevant. |
| 61 | + |
| 62 | +## 9. Accessibility and localization |
| 63 | +* Use UTF‑8 encoding and document any multilingual fields. |
| 64 | +* Favor color‑blind friendly palettes and include alternative text for |
| 65 | + figures. |
| 66 | +* Mention any translation resources or localization considerations. |
| 67 | + |
| 68 | +## 10. What to avoid |
| 69 | +* Do **not** embed large binaries, proprietary data, or personally |
| 70 | + identifiable information in the repository. |
| 71 | +* Avoid hard‑coded credentials, unverifiable claims, or broken links. |
| 72 | +* Skip redundant code samples; keep examples concise and relevant. |
| 73 | +* Refrain from relying on closed or non‑streamable formats. |
| 74 | + |
| 75 | +## 11. Suggested entry template |
| 76 | +````markdown |
| 77 | +# Dataset title |
| 78 | + |
| 79 | +## Source |
| 80 | +- Provider: ... |
| 81 | +- Access: STAC URL or API endpoint |
| 82 | +- License: ... |
| 83 | + |
| 84 | +## Why it matters |
| 85 | +Plain‑language paragraph... |
| 86 | + |
| 87 | +## Example usage |
| 88 | +```python |
| 89 | +# Python (lexcube-friendly) |
| 90 | +``` |
| 91 | +```r |
| 92 | +# R equivalent |
| 93 | +``` |
| 94 | + |
| 95 | +## Visualization |
| 96 | + <!-- or --> |
| 97 | +```python |
| 98 | +# show first 10 rows for tabular data |
| 99 | +``` |
| 100 | + |
| 101 | +## Harmonization notes |
| 102 | +How to combine with other datasets... |
| 103 | + |
| 104 | +## References |
| 105 | +- [Verifiable citation](https://example.com) |
| 106 | +```` |
| 107 | + |
| 108 | +Following this style ensures entries are accessible, reproducible, and |
| 109 | +compatible across the data library. |
0 commit comments