{"openapi":"3.1.0","info":{"title":"DTM2020-operational: semi-empirical thermosphere model","description":"\nThe Drag Temperature Model is the in-house developed semi-empirical model of the thermosphere. Its main application is in orbit determination and prediction. It provides point-wise predictions of total mass density (in g/cm3), temperature (K), and partial densities of the main constituents (O2, N2, O, He in g/cm3). The solar driver is F10.7 and the geomagnetic driver of the model is Kp. The backbone of the data used to fit the model coefficients are the high-resolution and precision accelerometer-inferred densities of the GOCE, CHAMP and GRACE missions. The DTM2020 model is available on Github (F90 code).\n\n## Functionalities:\n* Execute the model.\n* Plot results.\n* Download results.\n","version":"1.0"},"servers":[{"url":"/dc-dtm"}],"paths":{"/execute":{"get":{"tags":["execute"],"summary":"Execute","operationId":"execute_execute_get","parameters":[{"name":"fm","in":"query","required":false,"schema":{"type":"number","default":180,"title":"Fm"}},{"name":"fl","in":"query","required":false,"schema":{"type":"number","default":100,"title":"Fl"}},{"name":"alt","in":"query","required":false,"schema":{"type":"integer","default":300,"title":"Alt"}},{"name":"day","in":"query","required":false,"schema":{"type":"integer","default":180,"title":"Day"}},{"name":"akp1","in":"query","required":false,"schema":{"type":"number","default":0,"title":"Akp1"}},{"name":"akp3","in":"query","required":false,"schema":{"type":"number","default":0,"title":"Akp3"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plots":{"get":{"tags":["plots"],"summary":"Plot Results","operationId":"plot_results_plots_get","parameters":[{"name":"execution_id","in":"query","required":true,"schema":{"type":"integer","title":"Execution Id"}},{"name":"data","in":"query","required":true,"schema":{"type":"string","enum":["He","N2","O","ro","Tinf","Tz"],"title":"Data"}}],"responses":{"200":{"description":"Return the Plot as an image/png.","content":{"image/png":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/results":{"get":{"tags":["results"],"summary":"Download All Results","operationId":"download_all_results_results_get","parameters":[{"name":"execution_id","in":"query","required":true,"schema":{"type":"integer","title":"Execution Id"}}],"responses":{"200":{"description":"Return a zip will all Plots and Files as an application/zip.","content":{"application/octet-stream":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"tags":[{"name":"execute","description":"Initiate a model execution by specifying the following parameters:<br>fm: Mean F10.7 flux of last 81 day, ge=60, le=250<br>fl: Daily F10.7 flux of previous day, ge=60, le=300<br>atl: Altitude, ge=120, le=1500<br>day: Day of the year, ge=1, le=366<br>akp1: Geomagnetic activity index kp delayed by 3 hours, ge=0, le=9<br>akp3: Mean geomagnetic activity index kp of the last 24 hours, ge=0, le=9<br>"},{"name":"plots","description":"Create a plot of the selected file by passing an execution id.<br>The plot can be downloaded, and presents data from 0-24 per 1hr, for latitude in range, +87 to -87, per 3 degrees."},{"name":"results","description":"Download all results (e.g. plots and figures) by passing an execution id.<br>Rename the file and add .zip as an extension."}]}