This adds a JSON file that has a list of projects that are allowed to be used by the API. If a query specifies a project or id (id, master_id, dataset_id, instance_id) from a project that is not in the list, then the API will throw an error instead of generating a wget script.
Example error:
This query cannot be completed since the project, CORDEX, is not allowed to be accessed by this site. Please redo your
query with unrestricted data only, and request CORDEX data from another site.
Resolves #25
This adds a JSON file that has a list of projects that are allowed to be used by the API. If a query specifies a project or id (
id
,master_id
,dataset_id
,instance_id
) from a project that is not in the list, then the API will throw an error instead of generating a wget script.Example error: