Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
planets_rt [2012/01/11 19:22] – [11 Jan 2012] mate | planets_rt [2012/02/28 20:12] (current) – [28 Feb 2012] mate | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This page has notes on our RT code project | ||
+ | ===== To Do ===== | ||
+ | * Make generalized RT code | ||
+ | * Write code to make standard parameter files | ||
+ | |||
+ | ===== 28 Feb 2012 ===== | ||
+ | We have a serious list of tasks ahead of us: | ||
+ | |||
+ | **atmosphere.pro: | ||
+ | - test for jupiter (I have written a runfile and a needed function for this already) | ||
+ | - get running for uranus and test | ||
+ | - get running for titan and test | ||
+ | **tau_gas.pro: | ||
+ | - test katherine' | ||
+ | - update makeparfile take any combination of input param files as strings? This would allow use of new param files, and multiple wavelength ranges to be specified. It would make code more transparent to outside user. | ||
+ | - incorporate all needed functions/ | ||
+ | - NH3 absorption: need to figure out why we'd want to use band models to get k coefficients. Is there a difference between the band model answer and the sromovsky answer? Why? Code in best choice. | ||
+ | - make tau_gas work with structure input and output | ||
+ | |||
+ | **tau_haze.pro** | ||
+ | - make into a structure | ||
+ | - allow for particle size distribution for calculating mie scattering | ||
+ | - Lots of questions to answer: how do we specify things? Where are the calculations done? Do we want to fit for g,w, and asym and back out particle properties, or the other way around? | ||
+ | |||
+ | **spectrum fitting:** | ||
+ | - test time to complete one run | ||
+ | - estimate number of parameters that need to be varied, total time to make a ' | ||
+ | - Mike's genetic algorithm | ||
+ | |||
+ | **Repository cleanup** | ||
+ | |||
+ | Update repository to ignore (large) reference data files: | ||
+ | - location of files can remain the same, however might need to re-initialize repository so that large files aren't downloaded as part of early changesets. | ||
+ | - Ignore DS_Store files. These things are regularly updated and don't need to be tracked. Everyone should create/edit the .hgignore_global file to exclude these files. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | **other** | ||
+ | - Directory specification: | ||
+ | |||
+ | ===== 11 Jan 2012 ===== | ||
+ | |||
+ | **Notes:** | ||
+ | |||
+ | Statia describes the atmosphere stucture: | ||
+ | |||
+ | Temperature and pressure profiles from either ASCII file or procedure to generate T/P profile. | ||
+ | |||
+ | Mike: Units - mixing ratio relative to H2 (not mole fraction) should be documented in input structure. Works for giant planets but might be a problem for Titan. | ||
+ | |||
+ | Having a text file or procedure as input can decrease the learning curve and allows for text file manipulation. | ||
+ | |||
+ | Error handling with ' | ||
+ | |||
+ | How to generalize composition? | ||
+ | |||
+ | A structure for compositions as nested structure within atmosphere. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== 05 Jan 2012 ===== | ||
+ | |||
+ | **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 " | ||
+ | * Katherine shows plots of using surface interpolation vs linear interpolation of k-coefficients; | ||
+ | |||
+ | **Action Items:** | ||
+ | |||
+ | Mate: | ||
+ | * test the config script and update the README accordingly, | ||
+ | * review the calculation of k-coefficients from line-by-line data for calculating values on more finely sampled frequency, temperature, | ||
+ | Katherine: | ||
+ | * make surface or contour plots of the k-coeffcients to evaluate the interpolation used. | ||
+ | |||
+ | **Next Meeting** | ||
+ | |||
+ | * 11am Wednesday, 11 Jan 2012. (B40) | ||
+ | |||
+ | **Note on sourcing the environment configuration file:** | ||
+ | |||
+ | Mate made a mistake on trying to use: '' | ||
+ | |||
+ | |||
+ | < | ||
+ | ---------------------------------------------------------------------------------------------- 14:07:04 | ||
+ | mate@gina: | ||
+ | |||
+ | ---------------------------------------------------------------------------------------------- 14:07:14 | ||
+ | mate@gina: | ||
+ | /Users/mate | ||
+ | ---------------------------------------------------------------------------------------------- 14:07:19 | ||
+ | mate@gina: | ||
+ | ---------------------------------------------------------------------------------------------- 14:07:32 | ||
+ | mate@gina: | ||
+ | / | ||
+ | ---------------------------------------------------------------------------------------------- 14:07:35 | ||
+ | mate@gina: | ||
+ | ---------------------------------------------------------------------------------------------- 14:07:56 | ||
+ | mate@gina: | ||
+ | / | ||
+ | ---------------------------------------------------------------------------------------------- 14:07:58 | ||
+ | mate@gina: | ||
+ | +/ | ||
+ | </ | ||
+ | |||
+ | At first there is no environment variable for '' | ||
+ | |||
+ | The IDL_PATH is appended with the most recent configuration at the top of the path (where IDL looks first). This path information is reset when opening a new shell. | ||
+ | |||
+ | |||
+ | ===== 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), | ||
+ | * 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. | ||
+ | * ' | ||
+ | * 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?** |