{
  "Spase": {
    "xmlns": "http://www.spase-group.org/data/schema",
    "xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance",
    "xsi:schemaLocation": "http://www.spase-group.org/data/schema http://www.spase-group.org/data/schema/spase-2_6_1.xsd",
    "_Note": "Nodes prefixed with a _ are not valid SPASE, but are included for debugging. Values prefixed with a x_ are not valid SPASE but may considered for addition for completeness.",
    "Version": "2.6.1",
    "_MasterURL": "https://cdaweb.gsfc.nasa.gov/pub/software/cdawlib/0JSONS/ts2_l2_ace_def_00000000_v01.json (from all.xml)",
    "NumericalData": {
      "ResourceID": null,
      "_ResourceID": "Source: https://github.com/rweigel/cdawmeta-spase/blob/main/ResourceID.json",
      "ResourceHeader": {
        "ResourceName": "TRACERS Satellite 2 Level 2 Analyzer for Cusp Electrons (ACE) Differential Energy Flux",
        "_ResourceName": "Source: Master/CDFglobalAttributes/Logical_source_description",
        "AlternateName": "ts2_l2_ace_def",
        "_AlternateName": "Source: Master/CDFglobalAttributes/Logical_source",
        "Description": "The ACE L2 data consist of raw measured counts and calibrated differential energy fluxes as a function of anode angle and calibrated energy. Counts are accumulated in 21 discrete anodes with different viewing angles for each of 49 energy steps, with a basic measurement cadence of 50 ms. Counts are converted to differential energy flux by subtracting an estimate of the background and then dividing by the instrument calibration matrix. The estimated background count rates and calibration matrix are included in the L2 data files, enabling application of alternative background subtraction methods or calibrations.  Background estimates include two sources: 1) Instrumental background due to electronics crosstalk, which is constant across all anodes but varies with energy. 2) Natural background due to penetrating energetic particles and natural radioactivity in the microchannel plate detectors, which is constant across all anodes and energies. Subtraction of background can lead to negative differential energy fluxes, especially for low count rate data. Depending on the use case, these negative values can either be retained or replaced with zeroes.  The calibration matrix incorporates instrument sensitivity and relative sensitivity factors for each anode, both estimated based upon a combination of pre-flight laboratory calibrations and inflight data. Energy values for each energy step and anode are computed utilizing the known sweep voltage table and pre-flight laboratory calibrations.  The ACE instrument was intended to be operated in a particular spacecraft orientation, with the TSCS +Z axis aligned with the magnetic field. In this orientation, incoming electron trajectories are not occluded by the spacecraft. However, for a portion of the TRACERS mission, the spacecraft are oriented in the opposite sense, which leads to an occlusion of a portion of the instrument field of view by the spacecraft body for low-energy (<~200 eV) electrons. Low-energy ACE data should not be utilized for quantitative purposes when the spacecraft are in this orientation.",
        "_Description": "Source: Master/CDFglobalAttributes/TEXT",
        "Acknowledgement": "Jasper Halekas",
        "_Acknowledgement": "Source: Master/CDFglobalAttributes/Acknowledgement",
        "_Rights": {
          "Name": "SPDX",
          "Description": "Creative Commons Zero v1.0 Universal",
          "URL": "https://spdx.org/licenses/CC0-1.0.html",
          "SchemeURI": "https://spdx.org/licenses/"
        },
        "InformationURL": [
          {
            "URL": "https://tracers.physics.uiowa.edu/",
            "Name": "TRACERS",
            "Description": "TRACERS data",
            "_Note": "URL also in all.xml. Using master."
          }
        ]
      },
      "Caveats": "https://tracers.physics.uiowa.edu/rules-use",
      "_Caveats": "Source: Master/CDFglobalAttributes/Rules_of_use",
      "DOI": null,
      "_DOI": "Source: https://github.com/rweigel/cdawmeta-spase/blob/main/DOI.json",
      "AccessInformation": [
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "CDF"
          ],
          "Style": "Listing",
          "AccessURL": {
            "Name": "HTTPS from SPDF",
            "URL": "https://cdaweb.gsfc.nasa.gov/pub/data/tracers/tracers2/ace_cusp-electrons/l2/def_diff-en-flux",
            "Description": "In CDF via HTTP from CDAWeb",
            "AccessFilenameTemplate": "ts2_l2_ace_def_%Y%m%d_%Q.cdf",
            "AccessDirectoryTemplate": "%Y",
            "ProductKey": "TS2_L2_ACE_DEF"
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "CDF"
          ],
          "Style": "Listing",
          "AccessURL": {
            "Name": "FTPS from SPDF",
            "URL": "ftps://cdaweb.gsfc.nasa.gov/pub/data/tracers/tracers2/ace_cusp-electrons/l2/def_diff-en-flux",
            "Description": "In CDF via HTTP from CDAWeb",
            "AccessFilenameTemplate": "ts2_l2_ace_def_%Y%m%d_%Q.cdf",
            "AccessDirectoryTemplate": "%Y",
            "ProductKey": "TS2_L2_ACE_DEF"
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "CDF",
            "CSV",
            "GIF",
            "NetCDF",
            "PNG",
            "PS",
            "PDF",
            "XML",
            "x_Script.IDL",
            "x_Script.Python",
            "Text.ASCII",
            "x_WAV"
          ],
          "AccessURL": {
            "Name": "CDAWeb Web Service",
            "URL": "https://cdaweb.gsfc.nasa.gov/WebServices/",
            "Style": "WebService",
            "Description": "Instructions for using web services to access this dataset an other other metadata and options for CDAWeb datasets. The ProductKey here corresponds to the query parameter 'dataset' in the tables at the AccessURL in a dataset-related request can be made.",
            "ProductKey": "TS2_L2_ACE_DEF"
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "CDF",
            "GIF",
            "PDF",
            "Text.ASCII",
            "x_WAV"
          ],
          "AccessURL": {
            "Name": "CDAWeb Web Service user interface",
            "URL": "https://cdaweb.gsfc.nasa.gov/cgi-bin/eval2.cgi?index=sp_phys&dataset=TS2_L2_ACE_DEF",
            "Style": "WebService",
            "ProductKey": "TS2_L2_ACE_DEF",
            "Description": "Web service user interface for this product."
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "x_Script.IDL",
            "x_Script.Python"
          ],
          "AccessURL": {
            "Name": "CDAWeb Python Script",
            "URL": "https://cdaweb.gsfc.nasa.gov/WS/cdasr/1/dataviews/sp_phys/datasets/TS2_L2_ACE_DEF/clientLibraryExample/",
            "ProductKey": "TS2_L2_ACE_DEF",
            "Style": "WebService",
            "Description": "Web service that generates a Python script to access this product."
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/SSCWeb. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "HTML"
          ],
          "AccessURL": {
            "Name": "4D Orbit Viewer",
            "URL": "https://sscweb.gsfc.nasa.gov/4dorbit/?sc=TS2_L2_ACE_DEF",
            "ProductKey": "TS2_L2_ACE_DEF",
            "Style": "x_Visualization",
            "Description": "Web Service to this product."
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb and the HAPI project. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "CSV",
            "JSON",
            "Binary"
          ],
          "AccessURL": {
            "Name": "CDAWeb HAPI Server",
            "URL": "https://hapi-server.org/servers/#server=CDAWeb&dataset=TS2_L2_ACE_DEF",
            "Style": "HAPI",
            "ProductKey": "TS2_L2_ACE_DEF",
            "Description": "Web Service to this product using the HAPI interface."
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb and the HAPI project. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "x_Script.IDL",
            "x_Script.Javascript",
            "x_Script.MATLAB",
            "x_Script.Python",
            "x_Script.Autoplot",
            "x_Script.curl",
            "x_Script.wget"
          ],
          "AccessURL": {
            "Name": "CDAWeb HAPI Script in Multiple Languages",
            "URL": "https://hapi-server.org/servers/#server=CDAWeb&dataset=TS2_L2_ACE_DEF&return=script",
            "Style": "HAPI",
            "ProductKey": "TS2_L2_ACE_DEF",
            "Description": "Web Service user interface that generates scripts in IDL, Javascript, MATLAB, Python, Autoplot, curl, wget to access this product. See https://hapi-server.org/servers/api for the API."
          }
        },
        {
          "RepositoryID": "spase://SMWG/Repository/NASA/GSFC/SPDF",
          "Availability": "Online",
          "AccessRights": "Open",
          "Acknowledgement": "SPDF/CDAWeb and the HAPI project. Please also acknowledge the data producer: J. Halekas at The University of Iowa",
          "Format": [
            "PNG",
            "PDF",
            "SVG"
          ],
          "AccessURL": {
            "Name": "HAPI visualizations",
            "URL": "https://hapi-server.org/plot/?server=https://cdaweb.gsfc.nasa.gov/hapi&dataset=TS2_L2_ACE_DEF&format=gallery",
            "Style": "x_Visualization",
            "ProductKey": "TS2_L2_ACE_DEF",
            "Description": "Web Service that generates plots. See https://hapi-server.org/plot/ for the API."
          }
        }
      ],
      "_AccessInformation": "Source: https://github.com/rweigel/cdawmeta-spase/blob/main/AccessInformation.json",
      "TemporalDescription": {
        "TimeSpan": {
          "StartDate": "2025-08-13T20:59:59Z",
          "StopDate": "2026-07-03T23:59:55Z"
        },
        "_TemporalDescription": "Generated from all.xml/@timerange_start and all.xml/@timerange_stop",
        "Cadence": "PT0.049999S",
        "_Cadence": "Counts based on variable 'Epoch' in https://cdaweb.gsfc.nasa.gov/sp_phys/data/tracers/tracers2/ace_cusp-electrons/l2/def_diff-en-flux/2025/ts2_l2_ace_def_20250813_v1.0.0.cdf. The most common cadence, 49999000 [ns] = PT0.049999S, occurred for 33.9173% of the 5208 timesteps."
      },
      "Keyword": [
        "Tandem Reconnection and Cusp Electrodynamics Reconnaissance Satellite 2 (from all.xml/observatory/description/@short)",
        "Analyzer for Cusp Electrons (from all.xml/instrument/description/@short)",
        "Space Physics (from Master/CDFglobalAttributes/Discipline)",
        "Magnetospheric Science (from Master/CDFglobalAttributes/Discipline)",
        "TRACERS2 (from Master/CDFglobalAttributes/Source_name)",
        "Tandem Reconnection and Cusp Electrodynamics Reconnaissance Satellite 2 (from Master/CDFglobalAttributes/Source_name)",
        "L2 (from Master/CDFglobalAttributes/Data_type)",
        "Level 2 (from Master/CDFglobalAttributes/Data_type)",
        "ACE (from all.xml/instrument/@ID)"
      ],
      "ObservedRegion": null,
      "_ObservedRegion": "Source: https://github.com/rweigel/cdawmeta-spase/blob/main/ObservedRegion.json",
      "ProcessingLevel": null,
      "_ProcessingLevel": "Processing level is not available in the master file; it should be there instead of, say, https://github.com/rweigel/cdawmeta-spase/blob/main/ProcessingLevel.json",
      "InstrumentID": null,
      "MeasurementType": null,
      "Parameter2": [
        {
          "Name": "UTC epoch at sweep midpoint",
          "ParameterKey": "Epoch",
          "Description": "CATDESC: 'UTC epoch at midpoint of energy sweep'. Notes not in Master CDF: 'The units are the units in CDF files. For other web services, this variable is may be represented as a time string.'",
          "Units": "ns",
          "Support": {
            "Qualifier": "Scalar",
            "SupportQuantity": "Temporal"
          }
        },
        {
          "Name": "ACE Differential Energy Flux",
          "ParameterKey": "ts2_l2_ace_def",
          "Description": "Master CDF CATDESC: 'Electron differential energy flux at 49 energies over 21 look directions.'. Master CDF VAR_NOTES: 'ACE electron differential energy flux as a function of epoch,  energy (49 bins) and look angle (21 directions). Note that small negative values are allowed, due to background subtraction.'. Notes not in Master CDF: 'The time index (the ISTP DEPEND_0 variable) for this parameter is Epoch.'",
          "Units": "eV eV!E-1!Ncm!E-2!Nsr!E-1!Ns!E-1!N",
          "FillValue": "NaN",
          "Structure": {
            "Size": [
              49,
              21
            ]
          }
        },
        {
          "Name": "Electron Counts",
          "ParameterKey": "ts2_l2_ace_counts",
          "Description": "Master CDF CATDESC: 'Electron raw counts at 49 energies over 21 look directions.'. Master CDF VAR_NOTES: 'Electron counts as a function of epoch, energy (49 bins) and look angle (21 directions).'. Notes not in Master CDF: 'The time index (the ISTP DEPEND_0 variable) for this parameter is Epoch.'",
          "Units": "raw counts",
          "FillValue": 65535,
          "Structure": {
            "Size": [
              49,
              21
            ]
          }
        },
        {
          "Name": "Background Counts",
          "ParameterKey": "ts2_l2_ace_background_counts",
          "Description": "Master CDF CATDESC: 'Background counts for each energy bin and anode.'. Master CDF VAR_NOTES: 'Estimate of the background counts at each anode for each bin of each energy sweep. these counts have been subtracted from l2_ace_counts prior to the calculation of the differential energy flux.'. Notes not in Master CDF: 'The time index (the ISTP DEPEND_0 variable) for this parameter is Epoch.'",
          "Units": "background counts",
          "FillValue": "NaN",
          "Structure": {
            "Size": [
              49,
              21
            ]
          }
        },
        {
          "Name": "Calibration Matrix",
          "ParameterKey": "ts2_l2_ace_cal_matrix",
          "Description": "Master CDF CATDESC: 'Counts to differential energy flux calibration matrix.'. Master CDF VAR_NOTES: 'The relative sensitivity matrix giving the calibration from counts to differential energy flux for each energy step and look direction.'. Notes not in Master CDF: 'The time index (the ISTP DEPEND_0 variable) for this parameter is Epoch.'",
          "Units": " <<TBD>> ",
          "FillValue": "NaN",
          "Structure": {
            "Size": [
              49,
              21
            ]
          }
        }
      ]
    }
  }
}