Hi, I've been trying to work with uploading some metadata to CMR and have been getting unexpected results.  

I initially retrieved (from Reverb) some ISO metadata that existed in the NSIDCV0 provider for dataset NSIDC-0547.  I was able to successfully upload it and search for that dataset into the NSIDC_TS1 provider.

Then we tried altering the metadata and updating it.  It appeared to load and gave a "200 OK" result and returned a concept id.  However, the metadata didn't actually seem to get updated.

We then deleted the dataset, and tried uploading the new file.  Again, we got successful responses, but could not find the dataset on a search.


Since then we have tried various combinations of uploading and deleting, both the original file and the updated one.  It's unclear now what CMR has for the dataset.

Search on short name returns (for the NSIDC_TS1 provider):

n5oml01{cfowler}[101]->curl -i -g -H "Echo-Token: XXXX" "https://cmr.uat.earthdata.nasa.gov/search/collections.umm-json?pretty=true&short_name=NSIDC-0547"
HTTP/1.1 200 OK
Date: Mon, 06 Jun 2016 21:01:22 GMT
Content-Type: application/vnd.nasa.cmr.umm+json; charset=utf-8
Access-Control-Expose-Headers: CMR-Hits, CMR-Request-Id
Access-Control-Allow-Origin: *
CMR-Hits: 3
CMR-Took: 11
CMR-Request-Id: 5b273735-82da-4d57-a747-2f57f146900e
Content-Length: 1705
Server: Jetty(9.2.z-SNAPSHOT)

"hits" : 3,




"meta" : {
"native-id" : "collections/NSIDC-0547.001",
"provider-id" : "NSIDC_TS1",
"concept-type" : "collection",
"concept-id" : "C1216143440-NSIDC_TS1",
"revision-date" : "2016-06-02T23:08:21Z",
"user-id" : "cathyf",
"deleted" : false,
"revision-id" : 4,
"format" : "application/iso19115+xml"
"umm" : {
"entry-title" : "MEaSUREs MODIS Mosaic of Greenland 2005 (MOG2005) Image Map V001",
"entry-id" : "NSIDC-0547_1",
"short-name" : "NSIDC-0547",
"version-id" : "1"




Delete returns:

n5oml01{cfowler}[169]->curl -i -XDELETE -H "Echo-Token: XXXX" https://cmr.uat.earthdata.nasa.gov/ingest/providers/NSIDC_TS1/collections/NSIDC-0547.001
HTTP/1.1 404 Not Found
Date: Mon, 06 Jun 2016 21:02:39 GMT
Content-Type: application/xml; charset=ISO-8859-1
Access-Control-Allow-Origin: *
CMR-Request-Id: cc0143fc-d73b-42b0-8c18-ddd8b6ba40a1
Content-Length: 168
Server: Jetty(9.2.z-SNAPSHOT)

<?xml version="1.0" encoding="UTF-8"?><errors><error>Concept with native-id [NSIDC-0547.001] and concept-id [C1216110036-NSIDC_TS1] is already deleted.</error></errors>


-->> I see that the concept id here is different, but I'm only providing the native id on the command line so am not sure what this means.  I want to delete concept id = C1216143440-NSIDC_TS1.


Upload returns:

curl -i -XPUT -H "Content-type: application/iso19115+xml" -H "Echo-Token: XXXX" https://cmr.uat.earthdata.nasa.gov/ingest/providers/NSIDC_TS1/collections/collections/NSIDC-0547.001 -d @NSIDC-0547_iso.xml_from_julia
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Mon, 06 Jun 2016 21:03:13 GMT
Content-Type: application/xml; charset=ISO-8859-1
CMR-Request-Id: 72d39dae-531b-4e6c-b47b-b08dfccf55f0
Content-Length: 129
Server: Jetty(9.2.z-SNAPSHOT)

<?xml version="1.0" encoding="UTF-8"?><result><concept-id>C1216143440-NSIDC_TS1</concept-id><revision-id>8</revision-id></result>

-->> However, if I now go back and do a search, the date has not changed from the original upload time:     "revision-date" : "2016-06-02T23:08:21Z"



Going to Earthdata Search and clicking on the "info" button for the dataset produces an error:

Error retrieving C1216143440-NSIDC TS1