Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As illustrated in the Architecture overview the FLARECAST infrastructure consists of several logical databases. All of these databases store different types of resources.

DatabaseResource
Data ArchiveObservation (e.g. FITS-Files)
Staging TableEvent, ... (e.g. Event lists)
Feature Property DatabaseFeature (such as Active Regions), FeatureProperty (e.g. Area, Contour, Zurich-Class, ...)
Predictions Config DBScalars, Vectors, Matrices (e.g. Algo-Configurations)
Prediction DB?
Infrastructure Configuration DBAlgorithm, Person,

  

The API is self-documenting such that there a single entry point to all databases. This would be access to the resources.

Resources

Anything accessible through the API is a "resource". All available resources can be listed.

Get list of observation types
Queryhttps://api.flarecast.eu/resources/list
Result
Code Block
languagejs
{
	{
    "people" : {
        "description": "Persons or groups responsible",
        "baseURL": "https://api.flarecast.eu/people/"
    },
    "algorithms" : {
        "description" : "Registered algorithms (read-only)",
        "baseURL" : "https://api.flarecast.eu/algorithms/            
    },

    "features" : {
        "description" : "Features accessible through this API",
        "baseURL" : "https://api.flarecast.eu/features/        
    },
    
    "observations" : {
        "description" : "Observations accessible through this API",
        "baseURL" : "https://api.flarecast.eu/observations/
    },
	...
 }

...

Search for files
Query https://api.flarecast.eu/observations/sdo/hmi/list?timerange=20150101T000000.0-20150101T120000.0
Result
Code Block
languagejs
{
	"https://api.flarecast.eu/observations/sdo/hmi/45fits/2015/0104/0120/hmi.M_45_los_00:00:00.fits",
    "https://api.flarecast.eu/observations/sdo/hmi/45/2015/01/01/hmi_45_los_00_00_45720s_nrt.20150420_010000_TAI.fits",
    	"https://api.flarecast.eu/observations/sdo/hmi/45fits/2015/0104/0120/hmi.M_45720s_losnrt.20150420_00020000_01_30TAI.fits",
    	"https://api.flarecast.eu/observations/sdo/hmi/45fits/2015/0104/0120/hmi.M_45720s_losnrt.20150420_00030000_02_15TAI.fits",
	...
}

Feature Properties

...