Previous: Download file   Up: Access data through the web   Next: Print individual records

Print file as ascii (isprint)

The Madrigal print file page is the main web interface for accessing data from individual Cedar files. It will allow you to view in ascii format both measured and derivable parameters. The data can be filtered in any number of ways. If you will be selecting the same parameters and applying the same filters to more than one file, you can save those settings as a filter.

This page was originally called isprint (for incoherent scatter print). Madrigal is now written for any ground-based observation of the upper atmosphere, so this name is simply a historical artifact.

In the data organization section of this tutorial, we discussed that Madrigal stored data as a series of records, with each record representing a single period of time. Within each record were stored scalar measurements (such as a radar azimuth) and vector measurements (such as radar range or electron temperature). The Madrigal print file treats all data as vector data, so if you request both azimuth and range, the identical azimuth data will be repeated for each individual range in a record.

Filters also act on each vector measurement individually. If your filter specifies a limited altitude coverage, some ranges from a given record may appear and others may be removed. Almost all the filters use the idea of a range:  if a given parameter is outside of the set range, it is excluded.  To use only a minimum or maximum value, simply set the other end of the range to be blank.  For example, to see all data with an elevation over 20 degrees, set the minimum to 20 and leave the maximum blank.

The print file page has three sections:

Filter selection

In this section of the print file, you can set up filters to remove data you do not to appear in the output. When the page is first loaded, all the filter parameters are set to include all the data.

The time filter always appears. The following filters appear only if they make sense for the given file:

  • Altitude
  • Azimuth
  • Elevation
  • Pulse length

If data from more than one instrument appears in the file, you can also filter by instrument (this is only the case for instruments made up of combinations of other instruments, such as Millstone Hill IS Radar).

 

Filter selection section

Also available is a way for you to filter data based on any parameter or parameters listed on in the parameters section of this page. Here's an example:

Mnemonic (or Mnem1 +,-,*,/ Mnem2) (example: gdalt or gdalt - sdwht) Leave spaces between mnemonics and operator Lower limit (leave blank if none) Upper limit (leave blank if none)

The first filter implies "gdalt - sdwht" must be greater than 0.0. Since sdwht is shadow height (the distance above any point on the earth where the sun is first visible), this filter implies that only data in direct sunlight will be displayed. The second filter says that BMAG (the magnitude of the magnetic field) must be between 0 and 3e-5 Tesla. Note that the meaning and units of any parameter are available by clicking on them.

Note that the filter can be based on any single parameter (such as BMAG above), or any two parameters either added, subtracted, multiplied, or divided (as in the "gdalt - sdwht" example above). Note that if the parameter you enter is missing or cannot be calculated, it will be rejected no matter what the range is, since missing data is never in any range.

In general, all these separate filters are and'ed together, so if data is excluded from any filter it is excluded.  There are two exceptions: additional azimuth range, and additional elevation range.  The purpose of these two new filters is to provide a little more flexibility in filtering azimuth or elevation than can be provided by a simple range.  For example, if you wanted to select azimuth values between 270 and 30 degrees, the simple range approach would not work, since the range does not go through zero.  The additional azimuth range added in this release allows this now to be done.  The two azimuth ranges are or'ed together: a record is selected if its azimuth is in either range.  Elevation works the same way.  By default, the additional azimuth and elevation ranges are set to 0 to 0 degrees, so they have no effect on the filter and can be ignored if not needed.

On the right hand side of the filter section are buttons to allow you to apply existing filters, or to save the ones you've created. If you want to reuse the filters and parameters you selected for a different Madrigal experiment, click on the Login button to create a username and password. This username and password will be saved as a cookie on your browser, so you will not need to login each time you use this Madrigal site. You can then use the buttons on the right side of the filter section to save your filter settings and give it a name. When you save the settings, you will decide whether you want your filter to be public (everyone can use it, but not change or delete it) or private (only you can see it or change it). The filter you save will include both your filter settings and the parameters you selected. Only the date filters are not applied when you apply an existing filter, since two different experiments rarely have the same dates.

Parameter selection

In this section of the print file, you choose which parameters you want to display. Parameters are grouped into categories. Bold-faced parameters are the measured ones, while the plain text parameters are derived.

Click on any parameter to see its definition, and the units it will be displayed in.

For some parameters, the definition will include a link to even more information about the parameter.

Data browser parameter selection

Output format

Finally, in the Output format section, you can:

  • Turn headers on or off. Headers are placed at the top of each record by default.
  • Change the string that indicates missing values.
  • Set the number of characters per row.

Output format section

Hitting Display Data will print the data.

Previous: Download file   Up: Access data through the web   Next: Print individual records