diff --git a/recipes/noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic/meta.yaml b/recipes/noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic/meta.yaml deleted file mode 100644 index fb4bbf0ffe..0000000000 --- a/recipes/noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic/meta.yaml +++ /dev/null @@ -1,40 +0,0 @@ -# Name for dataset. User chosen. -title: 'NOAA Atmospheric Climate Data Records: Cloud Properties ISCCP' -# Description of dataset. User chosen, roughly 1 sentence in length. -description: 'A collection of global, 3 hour, data describing distribution and variation of cloud radiative properties to improve understanding and modeling of the way clouds affect climate. Variables derived from operational weather satellites, polar orbiting, and geostationary satellites.' -# Version of pangeo_forge_recipes library that was used -pangeo_forge_version: '0.9.2' -# The recipes section tells Pangeo Cloud where to find the recipes within your PR. -# Many recipe PRs will have just 1 recipe, in which case this section will look similar to the example below. -# If your PR contains multiple recipes, you may add additional elements to the list below. -recipes: - # User chosen name for recipe. Likely similiar to dataset name, ~25 characters in length - - id: noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic - # The `object` below tells Pangeo Cloud specifically where your recipe instance(s) are located and uses the format : - # is name of .py file where the Python recipe object is defined. - # For example, if is given as "recipe", Pangeo Cloud will expect a file named `recipe.py` to exist in your PR. - # is the name of the recipe object (i.e. Python class instance) _within_ the specified file. - # For example, if you have defined `recipe = XarrayZarrRecipe(...)` within a file named `recipe.py`, then your `object` below would be `"recipe:recipe"` - object: 'recipe:recipe' -provenance: - # Data provider object. Follow STAC spec. - # https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#provider-object - providers: - - name: 'NOAA NCEI' - description: 'National Oceanographic & Atmospheric Administration National Centers for Environmental Information' - roles: - - producer - - licensor - url: https://www.ncei.noaa.gov/products/climate-data-records/cloud-properties-isccp - # This is a required field for provider. Follow STAC spec - # https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#license - license: 'Open Data' -maintainers: - # Information about recipe creator. name and github are required - - name: 'Ryan Avery' - orcid: '0000-0001-7392-1474' - github: rbavery -# The specific bakery (i.e. cloud infrastructure) that your recipe will run on. -# Available bakeries can be found on the Pangeo Forge website https://pangeo-forge.org/dashboard/bakeries -bakery: - id: 'pangeo-ldeo-nsf-earthcube' diff --git a/recipes/noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic/recipe.py b/recipes/noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic/recipe.py deleted file mode 100644 index 3992f041d0..0000000000 --- a/recipes/noaa-atmosphere-climate-cloud-properties-isccp-hgg-basic/recipe.py +++ /dev/null @@ -1,21 +0,0 @@ -from os.path import basename, join - -import s3fs - -from pangeo_forge_recipes.patterns import pattern_from_file_sequence -from pangeo_forge_recipes.recipes.reference_hdf_zarr import HDFReferenceRecipe - -url_base = 's3://noaa-cdr-cloud-properties-isccp-pds/data/isccp-basic/hgg' -fs = s3fs.S3FileSystem(anon=True) -yearmonth_folders = fs.ls(join(url_base)) -yearmonths = list(map(lambda x: basename(x), yearmonth_folders)) -file_list = [] -for yearmonth in yearmonths: - file_list += sorted( - filter( - lambda x: x.endswith('.nc'), - map(lambda x: 's3://' + x, fs.ls(join(url_base, str(yearmonth)), detail=False)), - ) - ) -pattern = pattern_from_file_sequence(file_list, 'time', nitems_per_file=1) -recipe = HDFReferenceRecipe(pattern, netcdf_storage_options={'anon': True})