Skip to content

Commit 481e620

Browse files
committed
Add notes to docstrings
1 parent 5f9e26f commit 481e620

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

pbs_executor/ingest.py

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,25 @@ def move(self):
154154
"""
155155
Move ingest files to the ILAMB MODELS directory.
156156
157+
Notes
158+
-----
159+
The directory structures for an uploaded model output
160+
should look like:
161+
162+
.. code-block:: bash
163+
164+
MODELS
165+
|
166+
+-- SiBCASA
167+
|
168+
+-- test_model_output.txt
169+
170+
MODELS-by-project
171+
|
172+
+-- PBS
173+
|
174+
+-- test_model_output.txt -> MODELS/SibCASA/test_model_output.txt
175+
157176
"""
158177
models_dir = os.path.join(self.ilamb_root, self.dest_dir)
159178
for f in self.ingest_files:
@@ -210,8 +229,28 @@ def verify(self):
210229
f.is_verified = True
211230

212231
def move(self):
213-
"""
214-
Move ingest files to the ILAMB DATA directory.
232+
"""Move ingest files to the ILAMB DATA directory.
233+
234+
Notes
235+
-----
236+
The directory structures for an uploaded benchmark dataset
237+
should look like:
238+
239+
.. code-block:: bash
240+
241+
DATA
242+
|
243+
+-- lai
244+
|
245+
+-- CSDMS
246+
|
247+
+-- test_benchmark.txt
248+
249+
DATA-by-project
250+
|
251+
+-- PBS
252+
|
253+
+-- test_benchmark.txt.CSDMS -> DATA/lai/CSDMS/test_benchmark.txt
215254
216255
"""
217256
data_dir = os.path.join(self.ilamb_root, self.dest_dir)

0 commit comments

Comments
 (0)