1 | | The problem is when I use wcst_import to import some data to rasdaman with coverage id like a, b, c then I drop petascopedb, then I import it again and an error appear. I think this is not consistent in here (it is best that wcst-import not only check in petascopedb but check collection from rasdaman also). Only if both case is not exist then wcst-import can import data or will have error that coverage is exist. |
| 1 | '''Modification: ''' This problem happens when a collection has been created in rasdaman database and one using wcst_import to ingest a coverage id with the same as collection name. |
| 2 | |
| 3 | Example: |
| 4 | |
| 5 | rasql -q "create collection rgb RGBSet" --user rasadmin --passwd rasadmin |
| 6 | |
| 7 | wcst_import.sh ingest.json (with "coverage_id": "rgb") |
| 8 | |
| 9 | |
| 10 | The problem is when I use wcst_import to import some data to rasdaman with coverage id like a, b, c then I drop petascopedb, then I import it again and an error appear. I think this is not consistent in here (it is best that wcst-import not only check in petascopedb but check collection from rasdaman also). Only if both case is not exist then wcst-import can import data or will have error that coverage is exist. |