ooici/coi-services — pull request #832 by lukecampbell (2013-04-01 21:51:33+00:00)
Title: Adds capabilities for derived data products

Data products can be derived from one another (as was the plan all along).

When you call `create_data_product` you can specify a `dataset_id` which will link the new data product (derived) to the independent data product. *The really important thing is you can NEVER publish to this data product, it will crash ingestion*. Derived data products are HIGHLY ENCOURAGED to have stream definitions with the set of `available_fields` defined.

Whenever you want to view the contents of the data product, first get the stream definition which is now easier to get to. (`DataProduct->StreamDefintiion hasStreamDefinition`) After, in your retrieve calls pass the stream definition in with the `delivery_format` keyword argument which will filter the parameters based on the data products available fields.

The extended resource framework for data products was updated so that the `available_fields` for data products is respected through the stream definition.
Same with visualization service.

### Datasets in ERDDAP will not reflect the restricted view per data product