dashed names and edge cases
MODIFY
.github/workflows/main.yaml
.github/workflows/main.yaml
@@ -35,7 +35,7 @@ jobs:
- name: setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
- activate-environment: pangeo-forge
+ activate-environment: pangeo-forge-recipes
environment-file: ci/py${{ matrix.python-version }}.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
@@ -45,7 +45,7 @@ jobs:
run: |
conda info
conda list
- - name: install pangeo-forge
+ - name: install pangeo-forge-recipes
shell: bash -l {0}
run: |
python -m pip install --no-deps -e .

MODIFY
Dockerfile
Dockerfile
@@ -4,5 +4,5 @@ USER ${NB_USER}
ENV JUPYTERHUB_USER=pangeoforge
ENV TZ=UTC
RUN python -m pip install prefect[kubernetes]==0.13.0 pygithub
-COPY . /pangeo-forge
-RUN python -m pip install --no-deps /pangeo-forge
+COPY . /pangeo-forge-recipes
+RUN python -m pip install --no-deps /pangeo-forge-recipes

MODIFY
README.md
README.md
# pangeo-forge-recipes
-![CI](https://github.com/pangeo-forge-recipes/pangeo-forge-recipes/workflows/CI/badge.svg)
-![Codecov](https://img.shields.io/codecov/c/github/pangeo-forge-recipes/pangeo-forge-recipes)
-[![Documentation Status](https://readthedocs.org/projects/pangeo-forge-recipes/badge/?version=latest)](https://pangeo-forge-recipes.readthedocs.io/en/latest/?badge=latest)
+![CI](https://github.com/pangeo-forge/pangeo-forge-recipes/workflows/CI/badge.svg)
+![Codecov](https://img.shields.io/codecov/c/github/pangeo-forge/pangeo-forge-recipes)
+[![Documentation Status](https://readthedocs.org/projects/pangeo-forge/badge/?version=latest)](https://pangeo-forge.readthedocs.io/en/latest/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
-__pangeo-forge-recipes__ is an open-source tool designed to aid the extraction, transformation, and loading of datasets. The goal of pangeo-forge-recipes is to make it easy to extract datasets from traditional data repositories and deposit them into cloud object storage in analysis-ready, cloud-optimized format.
+__pangeo-forge__ is an open-source tool designed to aid the extraction, transformation, and loading of datasets. The goal of pangeo-forge is to make it easy to extract datasets from traditional data repositories and deposit them into cloud object storage in analysis-ready, cloud-optimized format.
-pangeo-forge-recipes is inspired by [conda-forge](https://conda-forge.org/), a community-led collection of recipes for building [Conda](https://docs.conda.io/en/latest/) packages. We hope that pangeo-forge-recipes can play the same role for datasets.
+pangeo-forge is inspired by [conda-forge](https://conda-forge.org/), a community-led collection of recipes for building [Conda](https://docs.conda.io/en/latest/) packages. We hope that pangeo-forge can play the same role for datasets.
## Documentation
-More can be learned about pangeo-forge-recipes, its progress, and related subprojects in its [official documentation](https://pangeo-forge-recipes.readthedocs.io).
+More can be learned about pangeo-forge, its progress, and related subprojects in its [official documentation](https://pangeo-forge.readthedocs.io).
## Contributing
-pangeo-forge-recipes is still early in development - there are several ways to contribute:
+pangeo-forge is still early in development - there are several ways to contribute:
-1. [Create a recipe](https://pangeo-forge-recipes.readthedocs.io/en/latest/contribute.html) for a dataset you are interested in
-2. Open an issue or pull request here or in any of the related subprojects ([pangeo-smithy](https://github.com/pangeo-forge-recipes/pangeo-smithy), [staged-recipes](https://github.com/pangeo-forge-recipes/staged-recipes))
-3. Check out the project [roadmap](https://github.com/pangeo-forge-recipes/roadmap)
+1. [Create a recipe](https://pangeo-forge.readthedocs.io/en/latest/contribute.html) for a dataset you are interested in
+2. Open an issue or pull request here or in any of the related subprojects ([pangeo-smithy](https://github.com/pangeo-forge/pangeo-smithy), [staged-recipes](https://github.com/pangeo-forge/staged-recipes))
+3. Check out the project [roadmap](https://github.com/pangeo-forge/roadmap)
## Get in touch
-Discussions on pangeo-forge-recipes are generally hosted biweekly on Mondays at 7pm UTC via [Whereby](https://whereby.com/pangeo). More details on the scheduling of these meetings can be found [here](https://github.com/pangeo-forge-recipes/roadmap/issues/3).
+Discussions on pangeo-forge are generally hosted biweekly on Mondays at 7pm UTC via [Whereby](https://whereby.com/pangeo). More details on the scheduling of these meetings can be found [here](https://github.com/pangeo-forge/roadmap/issues/3).
## License
-This project is licensed under the [Apache License, Version 2.0](https://github.com/pangeo-forge-recipes/pangeo-forge-recipes/blob/master/LICENSE).
+This project is licensed under the [Apache License, Version 2.0](https://github.com/pangeo-forge/pangeo-forge-recipes/blob/master/LICENSE).

MODIFY
ci/py3.7.yml
ci/py3.7.yml
-name: pangeo-forge
+name: pangeo-forge-recipes
channels:
- conda-forge
dependencies:

MODIFY
ci/py3.8.yml
ci/py3.8.yml
-name: pangeo-forge
+name: pangeo-forge-recipes
channels:
- conda-forge
dependencies:

MODIFY
ci/py3.9.yml
ci/py3.9.yml
-name: pangeo-forge
+name: pangeo-forge-recipes
channels:
- conda-forge
dependencies:

MODIFY
docs/bakeries.md
docs/bakeries.md
@@ -8,9 +8,9 @@ Cloud based execution is provided by Bakeries.
There are currently two types of Bakeries implemented:
-- <https://github.com/pangeo-forge-recipes/pangeo-forge-recipes-aws-bakery> -
+- <https://github.com/pangeo-forge/pangeo-forge-aws-bakery> -
Bakery for Amazon Web Services cloud
-- <https://github.com/pangeo-forge-recipes/pangeo-forge-recipes-azure-bakery> -
+- <https://github.com/pangeo-forge/pangeo-forge-azure-bakery> -
Bakery for Microsoft Azure cloud
If you are interested in deploying your own bakery, please consult those repos

MODIFY
docs/conf.py
docs/conf.py
@@ -31,14 +31,14 @@ execution_excludepatterns = ["tutorials/*"]
# https://sphinx-book-theme.readthedocs.io/en/latest/configure.html
html_theme = "sphinx_book_theme"
html_theme_options = {
- "repository_url": "https://github.com/pangeo-forge-recipes/pangeo-forge-recipes",
+ "repository_url": "https://github.com/pangeo-forge/pangeo-forge-recipes",
"repository_branch": "master",
"path_to_docs": "docs",
"use_repository_button": True,
"use_issues_button": True,
"use_edit_page_button": True,
}
-html_logo = "_static/pangeo-forge-recipes-logo-blue.png"
+html_logo = "_static/pangeo-forge-logo-blue.png"
html_static_path = ["_static"]
myst_heading_anchors = 2
html_css_files = [

MODIFY
docs/recipe_box.md
docs/recipe_box.md
@@ -19,13 +19,13 @@ You will also need a thorough understanding of the source dataset you wish to in
and a vision for the desired target dataset (desired format, chunk structure, etc.)
and any cleaning / processing steps needed along the way.
-Once you are ready to begin, head over to <https://github.com/pangeo-forge-recipes/staged-recipes>.
+Once you are ready to begin, head over to <https://github.com/pangeo-forge/staged-recipes>.
This repo is used to triage all new recipes for including in the Recipe Box.
The basic steps for adding you recipe are
-1. [fork](https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/fork-a-repo) the <https://github.com/pangeo-forge-recipes/staged-recipes> GitHub repository
+1. [fork](https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/fork-a-repo) the <https://github.com/pangeo-forge/staged-recipes> GitHub repository
2. Add your recipe(s) to a new folder.
3. Submit the new recipe(s) as a pull request
-At this point the pangeo-forge-recipes maintainers / bots will verify that your recipe
+At this point the pangeo-forge maintainers / bots will verify that your recipe
is shipshape and ready for inclusion in the Recipe Box.

MODIFY
docs/storage.md
docs/storage.md
@@ -16,7 +16,7 @@ For example, creating a storage target for AWS S3 might look like this:
```{code-block} python
import s3fs
fs = s3fs.S3FileSystem(key="MY_AWS_KEY", secret="MY_AWS_SECRET")
-target_path = "pangeo-forge-recipes-bucket/my-dataset-v1.zarr"
+target_path = "pangeo-forge-bucket/my-dataset-v1.zarr"
target = FSSpecTarget(fs=fs, root_path=target_path)
```

MODIFY
docs/tutorials/cmip6-recipe.ipynb
docs/tutorials/cmip6-recipe.ipynb
"metadata": {},
"source": [
"## Postscript\n",
- "- If you find a CMIP6 dataset for which this recipe does not work, Please report it at [issue#105](https://github.com/pangeo-forge-recipes/pangeo-forge-recipes/issues/105) so we can refine the recipe, if possible.\n"
+ "- If you find a CMIP6 dataset for which this recipe does not work, Please report it at [issue#105](https://github.com/pangeo-forge/pangeo-forge-recipes/issues/105) so we can refine the recipe, if possible.\n"
]
},
{
],
"metadata": {
"kernelspec": {
- "display_name": "pangeo-forge-recipes3.8",
+ "display_name": "pangeo-forge3.8",
"language": "python",
- "name": "pangeo-forge-recipes3.8"
+ "name": "pangeo-forge3.8"
},
"language_info": {
"codemirror_mode": {

MODIFY
docs/tutorials/multi_variable_recipe.ipynb
docs/tutorials/multi_variable_recipe.ipynb
"name": "stderr",
"output_type": "stream",
"text": [
- "/opt/miniconda3/envs/pangeo-forge-recipes/lib/python3.8/contextlib.py:120: UserWarning: Tasks were created but not added to the flow: {<Task: Task>}. This can occur when `Task` classes, including `Parameters`, are instantiated inside a `with flow:` block but not added to the flow either explicitly or as the input to another task. For more information, see https://docs.prefect.io/core/advanced_tutorials/task-guide.html#adding-tasks-to-flows.\n",
+ "/opt/miniconda3/envs/pangeo-forge/lib/python3.8/contextlib.py:120: UserWarning: Tasks were created but not added to the flow: {<Task: Task>}. This can occur when `Task` classes, including `Parameters`, are instantiated inside a `with flow:` block but not added to the flow either explicitly or as the input to another task. For more information, see https://docs.prefect.io/core/advanced_tutorials/task-guide.html#adding-tasks-to-flows.\n",
" next(self.gen)\n"
]
},
"name": "stderr",
"output_type": "stream",
"text": [
- "/opt/miniconda3/envs/pangeo-forge-recipes/lib/python3.8/site-packages/dask/array/numpy_compat.py:40: RuntimeWarning: invalid value encountered in true_divide\n",
+ "/opt/miniconda3/envs/pangeo-forge/lib/python3.8/site-packages/dask/array/numpy_compat.py:40: RuntimeWarning: invalid value encountered in true_divide\n",
" x = np.divide(x1, x2, out)\n"
]
},

MODIFY
docs/tutorials/netcdf_zarr_sequential.ipynb
docs/tutorials/netcdf_zarr_sequential.ipynb
"text/plain": [
"\u001b[0;31mSignature:\u001b[0m \u001b[0mpattern_from_file_sequence\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfile_list\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mconcat_dim\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mnitems_per_file\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
"\u001b[0;31mDocstring:\u001b[0m Convenience function for creating a FilePattern from a list of files.\n",
- "\u001b[0;31mFile:\u001b[0m ~/pangeo-forge-recipes/pangeo-forge-recipes/pangeo_forge_recipes/patterns.py\n",
+ "\u001b[0;31mFile:\u001b[0m ~/pangeo-forge/pangeo-forge-recipes/pangeo_forge_recipes/patterns.py\n",
"\u001b[0;31mType:\u001b[0m function\n"
]
},
":param process_chunk: Function to call on each concatenated chunk, with signature\n",
" `(ds: xr.Dataset) -> ds: xr.Dataset`.\n",
":param target_chunks: Desired chunk structure for the targret dataset.\n",
- "\u001b[0;31mFile:\u001b[0m ~/pangeo-forge-recipes/pangeo-forge-recipes/pangeo_forge_recipes/recipe.py\n",
+ "\u001b[0;31mFile:\u001b[0m ~/pangeo-forge/pangeo-forge-recipes/pangeo_forge_recipes/recipe.py\n",
"\u001b[0;31mType:\u001b[0m ABCMeta\n",
"\u001b[0;31mSubclasses:\u001b[0m \n"
]

MODIFY
docs/tutorials/terraclimate.ipynb
docs/tutorials/terraclimate.ipynb
"name": "stderr",
"output_type": "stream",
"text": [
- "/opt/miniconda3/envs/pangeo-forge-recipes/lib/python3.8/contextlib.py:120: UserWarning: Tasks were created but not added to the flow: {<Task: Task>}. This can occur when `Task` classes, including `Parameters`, are instantiated inside a `with flow:` block but not added to the flow either explicitly or as the input to another task. For more information, see https://docs.prefect.io/core/advanced_tutorials/task-guide.html#adding-tasks-to-flows.\n",
+ "/opt/miniconda3/envs/pangeo-forge/lib/python3.8/contextlib.py:120: UserWarning: Tasks were created but not added to the flow: {<Task: Task>}. This can occur when `Task` classes, including `Parameters`, are instantiated inside a `with flow:` block but not added to the flow either explicitly or as the input to another task. For more information, see https://docs.prefect.io/core/advanced_tutorials/task-guide.html#adding-tasks-to-flows.\n",
" next(self.gen)\n"
]
},
"name": "stderr",
"output_type": "stream",
"text": [
- "/opt/miniconda3/envs/pangeo-forge-recipes/lib/python3.8/site-packages/dask/array/numpy_compat.py:40: RuntimeWarning: invalid value encountered in true_divide\n",
+ "/opt/miniconda3/envs/pangeo-forge/lib/python3.8/site-packages/dask/array/numpy_compat.py:40: RuntimeWarning: invalid value encountered in true_divide\n",
" x = np.divide(x1, x2, out)\n"
]
},

MODIFY
setup.py
setup.py
@@ -32,9 +32,9 @@ setup(
maintainer="Joe Hamman",
maintainer_email="jhamman@ucar.edu",
classifiers=CLASSIFIERS,
- url="https://github.com/pangeo-forge-recipes/pangeo-forge-recipes",
+ url="https://github.com/pangeo-forge/pangeo-forge-recipes",
packages=find_packages(),
- package_dir={"pangeo_forge": "pangeo_forge"},
+ package_dir={"pangeo_forge_recipes": "pangeo_forge_recipes"},
include_package_data=True,
install_requires=install_requires,
license="Apache",

dashed names and edge cases