ckanext-thredds
This extensions allows you to create subsets of NetCDF files.

A created NCSS query looks like this:

The created relationship exists between the resources as well as between the
datasets. The relationship between the datasets is displayed like this:


API function:
subset_create(context, data_dict)
Create a subset of a NetCDF resource.
You must be logged in in order to create and download a subset and the original
resource must be public.
If you want to create a new dataset with the subset, you must be authorized
to do so.
Parameters:
* id (string) - the id of the resource of which a subset is to be created
* layers (list of strings) - list of layer ids that should be included in the subset
* format (string) - format of the subset (NetCDF, XML or CSV)
* type (string) - (optional, default: download)
* download - if subset should just be downloaded
* create_resource - if subset should be created as resource in a new package
* private (bool) - the visibility of the package (optional, default: True)
* organization (string) - id or name of the organization, which is owner of
the dataset (required if type = create_resource)
* package_name (string) - name of the dataset to be created (required if type =
create_resource)
* package_title (string) - title of the dataset to be created (required if type =
create_resource)
* resource_name (string) - name of the resource (required if type =
create_resource)
* north (float) - northern degree if bbox or latitude if point (optional)
* east (float) - eastern degree if bbox or longitude if point (optional)
* south (float) - southern degree if bbox (optional)
* west (float) - western degree if bbox (optional)
* time_start (iso