This is an old revision of the document!


Table of Contents

This page has notes on our RT code project

To Do

  • Make generalized RT code
    • Write code to make standard parameter files

05 Jan 2011

Notes: Mate described a pair of scripts, config and setup, to set shell environments variables for the IDL_PATH and RT_ROOT:

  • The config script sets paths relative to its own location, which can be executed prior to running IDL.
  • The setup script adds a line to the shell configuration file so that if only one instance of the repository is being used, then it is sourced by default.
  • The config script needs to be tested in multiple shells, and to see if a subsequent executions overwrite current environment variables.
  • Alternatives for executing multiple copies of the repository, with unique IDL_PATH is to have an IDL procedure initialize paths, however, this requires that IDL is started within the directory of the repository of interest.

Katherine described scripts for the reading a set of parameter (.par) files for CH4 opacities and outputting a FITS files that selected in the input data based on wavelength ranges.

  • The usage of keywords vs. lists of filenames was discussed; particularly since Katherine put the CH4 .par files into a standard format by reformatting the file headers.
  • NH3 opacities and .par files were discussed briefly; being identified as one of the last steps before having a “universal” tau_gas procedure.
  • Katherine shows plots of using surface interpolation vs linear interpolation of k-coefficients; the TRI_SURF procedure seems to be failing horribly in the case of the sparsely sampled Karkoschka k-coefficients, but not so badly in the case of the Irwin data. The linear interpolation seems to make more sense for the temperature and pressure profiles that are appropriate for Uranus.

Misc.

Action Items: Mate:

  • test the config script and update the README accordingly, for usage of the config file with multiple instances of the repository.
  • review the calculation of k-coefficients from line-by-line data for calculating values on more finely sampled frequency, temperature, & pressure grids.

Katherine:

  • make surface or contour plots of the k-coeffcients to evaluate the interpolation used.

Next Meeting

* 11am Wednesday, 11 Jan 2012. (B40)

21 Dec 2011

Notes:

  • We decided to write a code that takes the individual parameter files and makes a cube. The cube will have the lowest common denominator T and P range (reinterpolate Karkoschka onto Sromovsky and Irwin grid; should do a log linear interpolation), and will preserve the wavenumber resolution of the original files.
  • Makefile should run and keep a log of what it did in a header. We want to write it as fits files, because it will be faster than ascii files.
  • We talked about setting paths. Mate wrote a routine which uses pref_set which adds to the beginning of the path; Mike mentions that ./ is an acceptable path.
  • 'Atmosphere' structure input into tau_gas and tau_gas does interpolation from fits parameter file [keep in memory to do fit]. Or, tau_gas can read from a variable in memory.
  • Keep a long view in mind!

Misc.

  • Mike discovered that his problems with ssh keys have to do with his home directory being on mozzy; Bill is working on this problem.

Action Items:

  • Make the fits-writing make_file: Katherine
  • Figure out paths: Mate
  • Make atmosphere a structure: Statia

Next Meeting?