You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+21-8Lines changed: 21 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,12 @@ This document outlines the process for creating, reviewing, and publishing sampl
46
46
- Used for managing dataset requirements and conversions (e.g., to Zarr format).
47
47
48
48
### 2. Notebook Development Workflow
49
+
49
50
#### 2.1 Issue Creation
50
51
51
52
For each notebook to be developed, create a new GitHub Issue in the eopf-sample-notebooks repository.
52
53
The issue must include:
54
+
53
55
- A clear description of the notebook’s purpose and expected content.
54
56
- Assignment of a responsible contributor.
55
57
@@ -62,33 +64,43 @@ The assigned contributor must:
62
64
3. Create a corresponding Issue in the `eopf-sample-data` repository listing the datasets to be prepared and converted to Zarr format.
63
65
64
66
#### 2.3 Notebook Implementation
65
-
##### 2.3.1 Data Availability
67
+
68
+
##### 2.3.1 Data Availability
69
+
66
70
- Notebook development should begin after the necessary data is available in the required format (Zarr).
67
71
68
-
##### 2.3.2 Template Compliance
72
+
##### 2.3.2 Template Compliance
73
+
69
74
- All notebooks must adhere to the [standardized template](https://github.com/EOPF-Sample-Service/eopf-sample-notebooks/blob/main/notebooks/template/template.ipynb).
70
75
- The template ensures consistency in structure, formatting and metadata.
71
76
- Contributors should refer to the existing notebooks available in the repository before starting implementation.
72
77
73
-
##### 2.3.3 Python Environment
78
+
##### 2.3.3 Python Environment
79
+
74
80
If you are using Python libraries which are not yet available in the [conda environment available here](https://github.com/EOPF-Sample-Service/eopf-sample-notebooks/blob/main/environment.yml), add them in the `environment.yml` and test if the conda environment can be created successfully. If the environment has to be updated, please mention it in the [eopf-container-images](https://github.com/EOPF-Sample-Service/eopf-container-images) repository, so that the env available at https://jupyterhub.user.eopf.eodc.eu can also be updated and be ready to run the notebook.
75
81
76
-
##### 2.3.4 MyST Rendering
82
+
##### 2.3.4 MyST Rendering
83
+
77
84
Each notebook needs to have an entry in the [myst.yml](https://github.com/EOPF-Sample-Service/eopf-sample-notebooks/blob/main/notebooks/myst.yml) configuration file if you want it to be rendered as an html page. Please add a new row for your notebook before submitting the PR.
78
85
79
-
##### 2.3.5 Submission
86
+
##### 2.3.5 Submission
87
+
80
88
Once the implementation is complete:
89
+
81
90
- Run the formatting checks as mentioned above.
82
91
- Submit a Pull Request (PR) against the `/dev` branch.
83
92
- Reference the original issue in the PR description.
84
93
85
94
#### 2.4 Quality Assurance
95
+
86
96
##### 2.4.1. Automated Checks
97
+
87
98
- GitHub Actions are configured to run:
88
-
- Code formatting checks.
89
-
- Code quality tests.
99
+
- Code formatting checks.
100
+
- Code quality tests.
90
101
91
102
#### 2.5 Peer Review and Pre-Publication
103
+
92
104
After passing automated checks, the notebook will be reviewed by the team.
93
105
94
106
Once approved, the PR is merged into the `/dev` branch.
@@ -97,13 +109,14 @@ This triggers automatic deployment to the development preview site:
97
109
https://dev-eopf-sample-notebooks.netlify.app/
98
110
99
111
The development site allows:
112
+
100
113
- Verification of notebook rendering.
101
114
- Internal feedback and issue tracking.
102
115
103
116
#### 2.6 Final Publication
117
+
104
118
After all feedback have been addressed, merge the changes from the `/dev` branch into the `/main` branch.
105
119
This publishes the notebook to the official GitHub Pages site:
0 commit comments