Giter Club home page Giter Club logo

esdc-hapi's Introduction

esdc-hapi's People

Contributors

jbfaden avatar

Watchers

 avatar

esdc-hapi's Issues

consider switch to cdfj library

ESA's CDF library written by Mark Taylor is already in Maven, and we also have long-term plans to integrate the two libraries. It might be productive to use it instead of the CDFJ library created at NASA/Goddard.

Some CDFs have repeated records

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.

  • I also need to check that sufficient resolution is printed to represent the times precisely.

availability sets has repeat records

This dataset would return multiple repeat records:
String id= "availability/solo_L2_mag-rtn-normal";
String t= "2023-01-01T00:00Z/2023-01-03T00:00Z";

This is because the TAP response has both solo_L2_mag-rtn-normal and solo_L2_mag-rtn-normal-1-minute, and the TAP query uses "LIKE".

The code now checks that it is an exact match, but there is probably a better way to form the query.

how to get energies for spectrogram

How do I get the energies for a spectrogram?

https://soar.esac.esa.int/soar-sl-tap/tap/sync?REQUEST=doQuery&LANG=ADQL&FORMAT=json&QUERY=select%20*%20from%20soar.v_cdf_plot_metadata%20where%20logical_source%20=%20%27solo_L2_epd-het-south-rates%27

shows that I have a DEPEND_1 of "energy" but how do I request this?

timetags not in order, improperly clipped by server-java

The verifier caught where timetags are returned which are past the time.max:

wget -O - 'https://cottagesystems.com/server/esdc/hapi/data?id=solo_L2_rpw-tnr-surv&parameters=Epoch&time.min=2023-09-20T00:00Z&time.max=2023-09-21T00:00Z' | tail -3

returns:

2023-09-21T00:00:07.071Z
2023-09-21T00:00:03.035Z
2023-09-21T00:00:07.082Z

These should be clipped by the server.

Also I need to study which CDFs will need to have their timetags sorted.

five datasets apparently have no CDF file granules

It looks to me like five of the data sets do not have any CDF file granules.
solo_L2a_swa-eas1-nm3d-psd
"solo_L2_mag-rtn derived from LL data"
"solo_L2_mag-srf derived from LL data"
solo_L2a_swa-eas1-nm3d-def
solo_L2a_swa-eas1-nm3d-dnf

For example,

https://soar.esac.esa.int/soar-sl-tap/tap/sync?REQUEST=doQuery&LANG=ADQL&FORMAT=csv&QUERY=SELECT+TOP+1+begin_time,end_time,filename,data_item_id+FROM+v_sc_data_item+WHERE+data_item_id+LIKE+%27solo_L2a_swa-eas1-nm3d-psd%25%27+ORDER+BY+begin_time+ASC

returns no records.

I will resolve this by excluding these from the server, but this ticket is to make sure this is not an error elsewhere.

Epoch name with spaces

I noticed a case where the name of a variable was "epoch " and then it had spaces after it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.