# ######## EXAMPLE CONTINUUM TAG CONTROL FILE ####### #---------------------------------------------------- # define the arts continuum tags of arts tgsDefine{ [ "H2O-SelfContStandardType", "H2O-ForeignContStandardType", "H2O-ForeignContMaTippingType", "H2O-ContMPM93", "O2-SelfContStandardType", "N2-SelfContStandardType", "N2-SelfContMPM93", "N2-SelfContBorysow", "CO2-SelfContPWR93", "CO2-ForeignContPWR93" ] } #---------------------------------------------------- # initialize the continua tag structures cont_descriptionInit{} # #---------------------------------------------------- # # define the continua tags with the appropriate input # # ----- H2O continuum # # Rosenkranz-type H2O-H2O continuum: cont_descriptionAppend{ tagname = "H2O-SelfContStandardType" model = "Rosenkranz" userparameters = [ ] } # # Rosenkranz-type H2O-dry air continuum: cont_descriptionAppend{ tagname = "H2O-ForeignContStandardType" model = "Rosenkranz" userparameters = [ ] } # # Ma Tipping Continuum model cont_descriptionAppend{ tagname = "H2O-ForeignContMaTippingType" model = "MaTipping" userparameters = [ ] } # # MPM93-type H2O-air continuum: cont_descriptionAppend{ tagname = "H2O-ContMPM93" model = "MPM93" userparameters = [ ] } # # CKD2.4 original parameters: cont_descriptionAppend{ tagname = "H2O-SelfContCKD24" model = "CKD24" userparameters = [ ] } # # CKD2.4 original parameters: cont_descriptionAppend{ tagname = "H2O-ForeignContCKD24" model = "CKD24" userparameters = [ ] } # # ----- O2 continuum # # Standard O2-air continuum: cont_descriptionAppend{ tagname = "O2-SelfContStandardType" model = "Rosenkranz" userparameters = [ ] } # # ----- N2 continuum # # Rosenkranz N2-N2 continuum (only N2-N2 broadening): cont_descriptionAppend{ tagname = "N2-SelfContStandardType" model = "Rosenkranz" userparameters = [ ] } # MPM93 N2-N2 continuum (only N2-N2 broadening): cont_descriptionAppend{ tagname = "N2-SelfContMPM93" model = "MPM93" userparameters = [ ] } # # Borysow-Frommhold original parameters: cont_descriptionAppend{ tagname = "N2-SelfContBorysow" model = "BF86" userparameters = [ ] } # # ----- CO2 continuum # # Rosenkranz CO2-CO2 continuum: cont_descriptionAppend{ tagname = "CO2-SelfContPWR93" model = "Rosenkranz" userparameters = [ ] } # Rosenkranz CO2-N2 continuum: cont_descriptionAppend{ tagname = "CO2-ForeignContPWR93" model = "Rosenkranz" userparameters = [ ] } # #---------------------------------------------------- # # Read the pressure, temperature, and altitude # profiles and create the workspace variable `raw_ptz'. # ATTENTION! THE PATH AND FILE NAMES ARE USER SPECIFIC! MatrixReadAscii (raw_ptz) {"@ac_arts_data@/atmosphere/fascod/midlatitude-summer.tz.aa"} # # The same for the input VMR profiles # ATTENTION! THE PATH AND FILE NAMES ARE USER SPECIFIC! raw_vmrsReadFromScenario {"@ac_arts_data@/atmosphere/fascod/midlatitude-summer"} # # Create the pressure grid `p_abs' (just an example) VectorNLogSpace(p_abs){ start = 100000.000 stop = 1000.000 n = 100 } # reads the input profiles AtmFromRaw{} # #---------------------------------------------------- # # Set the H2O profile h2o_absSet{} # # Set the N2 profile n2_absSet{} # #---------------------------------------------------- # # no external line catalog is needed lines_per_tgSetEmpty{} # #---------------------------------------------------- # # Create an example frequency grid `f_mono' VectorNLinSpace(f_mono){ start = 100.0e9 stop = 200.0e9 n = 100 } # #---------------------------------------------------- # # Set the lineshape function for each continuum tag lineshapeDefine{ shape = "no_shape" normalizationfactor = "no_norm" cutoff = -1 } # #---------------------------------------------------- # calculate the absorption coefficients, unit=1/meter absCalc{} #---------------------------------------------------- # These we definitely want to write to files: # 1. absorption coefficient per continuum tag ArrayOfMatrixWriteAscii (abs_per_tg) {""} # 2. temperature profile VectorWriteAscii (t_abs) {""} # 3. altitude grid VectorWriteAscii (z_abs) {""} # 4. pressure grid VectorWriteAscii(p_abs) {""} # 5. frequency grid VectorWriteAscii (f_mono) {""} # 6. cont_descriptionAppend continuum tagnames ArrayOfStringWriteAscii (cont_description_names) {""} # 7. cont_descriptionAppend model selections ArrayOfStringWriteAscii (cont_description_models) {""} # 8. cont_descriptionAppend user given input parameters ArrayOfVectorWriteAscii (cont_description_parameters) {""} #####################################################