jbfaden / esdc-hapi

Prototype HAPI Java server plug-in for ESDC
0 stars 0 forks source link

Some CDFs have repeated records #7

Open jbfaden opened 4 months ago

jbfaden commented 4 months ago

Some of the CDF files have records repeated, which is not allowed in HAPI and the verifier is catching it:

wget -O - 'http://localhost:8080/HapiServer/hapi/data?id=solo_L2_rpw-tnr-surv&parameters=Epoch&time.min=2023-09-20T00:00Z&time.max=2023-09-21T00:00Z'

I'm putting in code to cull repeated records.

jbfaden commented 4 months ago

It looks like some timetags also go back in time. This is causing another problem, where the data formatter assumes timetags only increase. I'm fixing this now.

jbfaden commented 4 months ago

Here's a URL with a shorter time interval, useful for testing:

wget -O - 'http://localhost:8080/HapiServer/hapi/data?id=solo_L2_rpw-tnr-surv&parameters=Epoch,TEMPERATURE&time.min=2023-09-20T00:03:20Z&time.max=2023-09-20T00:03:30Z'