Skip to content

Commit

Permalink
Merge pull request #80 from rcaneill/doc_to_website
Browse files Browse the repository at this point in the history
use os.listdir
  • Loading branch information
rcaneill committed Feb 8, 2024
2 parents 1e2985d + cbd37c7 commit 0f4849c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/examples/open_process_files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"outputs": [],
"source": [
"from pathlib import Path\n",
"from os import listdir\n",
"\n",
"from xnemogcm import open_domain_cfg, open_nemo, process_nemo, open_namelist, open_nemo_and_domain_cfg\n",
"from xnemogcm import __version__ as xnemogcm_version"
Expand Down Expand Up @@ -84,7 +85,7 @@
"metadata": {},
"outputs": [],
"source": [
"!ls ../../xnemogcm/test/data/4.2.0/open_and_merge/"
"print(listdir(datadir))"
]
},
{
Expand Down Expand Up @@ -309,7 +310,7 @@
"metadata": {},
"outputs": [],
"source": [
"!ls ../../xnemogcm/test/data/namelist/"
"print(listdir(datadir))"
]
},
{
Expand Down
5 changes: 3 additions & 2 deletions docs/examples/recombing_mesh_mask_domain_cfg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"outputs": [],
"source": [
"from pathlib import Path\n",
"from os import listdir\n",
"\n",
"from xnemogcm import open_domain_cfg, open_nemo_and_domain_cfg\n",
"from xnemogcm import __version__ as xnemogcm_version"
Expand Down Expand Up @@ -59,11 +60,11 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9874f77d-9755-4881-afaf-0fe72f61950e",
"id": "5244743b-5695-437b-a9d9-4b61a6710128",
"metadata": {},
"outputs": [],
"source": [
"!ls ../../xnemogcm/test/data/4.2.0/mesh_mask_multi_files/"
"print(listdir(datadir))"
]
},
{
Expand Down

0 comments on commit 0f4849c

Please sign in to comment.