MadrigalWeb

Documentation for MadrigalWeb.

MadrigalWeb.ExperimentType

A class that encapsulates information about a Madrigal Experiment.

Similar to the MadrigalExperiment class in the madrigalWeb python module.

source
MadrigalWeb.InstrumentType
Instrument

A struct that encapsulates information about a Madrigal Instrument.

Fields

  • name: Instrument name (e.g., 'Millstone Hill Incoherent Scatter Radar')
  • code: Instrument code (e.g., 30)
  • mnemonic: Three-character mnemonic (e.g., 'mlh')
  • latitude: Instrument latitude in degrees
  • longitude: Instrument longitude in degrees
  • altitude: Instrument altitude in km
  • category: Instrument category (e.g., 'Incoherent Scatter Radars')

Similar to the MadrigalInstrument class in the madrigalWeb python module.

source
MadrigalWeb.ParameterType
Parameter

A struct that encapsulates information about a Madrigal parameter.

Similar to the MadrigalParameter class in the madrigalWeb python module.

source
MadrigalWeb.download_filesMethod
download_files(inst, kindat, t0, t1; kws...)

Download files for a given instrument code inst, data code kindat, and time range t0 to t1.

source
MadrigalWeb.filter_by_kindatMethod
filter_by_kindat(expFileList, kindat)

Returns a subset of the experiment files in expFileList whose kindat is found in kindat argument.

source
MadrigalWeb.get_all_instrumentsMethod
get_all_instruments(url)
get_all_instruments(server::Server = Default_server[])

Returns a list of all Madrigal instruments at the given Madrigal site url or server.

Examples

# Get all instruments from the default server
instruments = get_all_instruments()

# Get all instruments from a specific server
server = Server("https://cedar.openmadrigal.org")
instruments = get_all_instruments(server)
source
MadrigalWeb.get_experiment_file_parametersFunction
get_experiment_file_parameters(file, url)
get_experiment_file_parameters(file, server::Server = Default_server[])

Returns a list of all measured and derivable parameters in the given experiment file.

Examples

# Get parameters for a specific file
file = first(get_experiment_files(experiment))
parameters = get_experiment_file_parameters(file)

Similar to the getExperimentFileParameters method in the madrigalWeb python module.

source
MadrigalWeb.get_experimentsMethod
get_experiments(code, t0, t1; server = Default_server[])

Get a list of experiments for a given instrument code and time range t0 to t1.

source