ESGF / esgf-wget

Service API endpoint for simplified wget scripts
0 stars 4 forks source link

Handling bad dataset ids #32

Closed mauzey1 closed 3 years ago

mauzey1 commented 3 years ago

Fixes #13

Use a regex pattern to catch dataset_id values that are invalid. If an invalid dataset_id is found, the API will give the following message.

The dataset_id, invalid_dataset_id, does not follow the format of <facet1>.<facet2>...<facetn>.v<version>|<data_node>