Open jbfaden opened 1 year ago
This is what the data should look like in Autoplot. I'm plotting it using Autoplot's custom support for CDAWeb:
I will provide Bob with a more correct v3.1 info response.
This is the info response it should provide:
{
"HAPI" : "3.1",
"contact" : "Herbert Funsten @ Los Alamos National Laboratory",
"parameters" : [
{
"fill" : null,
"length" : 24,
"name" : "Time",
"type" : "isotime",
"units" : "UTC"
},
{
"description" : "---> Position of the satellite in geographic coordinates (electron timebase)",
"fill" : "-1.0E31",
"name" : "Position_Ele",
"size" : [
3
],
"type" : "double",
"units" : "km"
},
{
"description" : "---> Model magnetic field strength (electron timebase)",
"fill" : "-1.0E31",
"name" : "B_Calc_Ele",
"type" : "double",
"units" : "nT"
},
{
"description" : "---> Model magnetic field strength at magnetic equator (electron timebase)",
"fill" : "-1.0E31",
"name" : "B_Eq_Ele",
"type" : "double",
"units" : "nT"
},
{
"description" : "---> Calculated McIlwains L parameter (electron timebase)",
"fill" : "-1.0E31",
"name" : "L_Ele",
"type" : "double",
"units" : " "
},
{
"description" : "---> Calculated Roederers L* parameter (electron timebase)",
"fill" : "-1.0E31",
"name" : "L_star_Ele",
"type" : "double",
"units" : " "
},
{
"description" : "---> Adiabatic invariant (bounce) (electron timebase)",
"fill" : "-1.0E31",
"name" : "I_Ele",
"type" : "double",
"units" : "none"
},
{
"description" : "---> Calculated Magnetic Local Time (electron timebase)",
"fill" : "-1.0E31",
"name" : "MLT_Ele",
"type" : "double",
"units" : "h"
},
{
"description" : "[Labels on plots] Position of the satellite in geographic coordinates (ele)",
"fill" : "-1.0E31",
"name" : "Position_Ele_TT",
"size" : [
3
],
"type" : "double",
"units" : "km"
},
{
"description" : "---> Calculated magnetic field strength (ele)",
"fill" : "-1.0E31",
"name" : "B_Calc_Ele_TT",
"type" : "double",
"units" : "nT"
},
{
"description" : "---> Calculated magnetic field strength at magnetic equator (ele)",
"fill" : "-1.0E31",
"name" : "B_Eq_Ele_TT",
"type" : "double",
"units" : "nT"
},
{
"description" : "---> Calculated McIlwains L parameter (Earths radii, ele)",
"fill" : "-1.0E31",
"name" : "L_Ele_TT",
"type" : "double",
"units" : "R_E"
},
{
"description" : "---> Calculated Roederers L* parameter (Earths radii, ele)",
"fill" : "-1.0E31",
"name" : "L_star_Ele_TT",
"type" : "double",
"units" : "R_E"
},
{
"description" : "---> Adiabatic invariant (bounce, ele)",
"fill" : "-1.0E31",
"name" : "I_Ele_TT",
"type" : "double",
"units" : "none"
},
{
"description" : "---> Calculated Magnetic Local Time (hours, ele)",
"fill" : "-1.0E31",
"name" : "MLT_Ele_TT",
"type" : "double",
"units" : "h"
},
{
"description" : "HOPE Spin averaged differential electron flux",
"fill" : "-1.0E31",
"name" : "HOPE_ENERGY_Ele",
"size" : [
72
],
"type" : "double",
"units" : "eV"
},
{
"description" : "HOPE Spin averaged differential electron flux",
"fill" : "-1.0E31",
"name" : "FESA",
"size" : [
72
],
"bins": [ {
{ "name":"HOPE_ENERGY_Ele__bins",
"centers": "HOPE_ENERGY_Ele" }
} ]
"type" : "double",
"units" : "s!E-1!Ncm!E-2!Nster!E-1!NkeV!E-1!N"
},
{
"description" : "---> as stacked time_series",
"fill" : "-1.0E31",
"name" : "FESA_ts",
"size" : [
72
],
"type" : "double",
"units" : "s!E-1!Ncm!E-2!Nster!E-1!NkeV!E-1!N"
}
],
"resourceURL" : "https://cdaweb.gsfc.nasa.gov/misc/NotesR.html#RBSPB_REL04_ECT-HOPE-SCI-L2SA",
"startDate" : "2012-10-25T00:00:09Z",
"status" : {
"code" : 1200,
"message" : "OK"
},
"stopDate" : "2019-07-16T16:37:53Z"
}
Note there's a problem because the old server didn't make the bins (HOPE_ENERGY_Ele) available, it just dropped them. This breaks the goal of not changing the order of the parameters.
Here is an example of Bob's his info responses:
http://mag.gmu.edu/git-data/cdaweb-hapi-metadata/hapi/bw/CDAWeb/info/AC_AT_DEF.json
This is not implemented in Nand's HAPI 2.0 server:
vap+cdaweb:ds=RBSPB_REL04_ECT-HOPE-SCI-L2SA&filter=hope&id=FESA&timerange=2018-05-14