<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>/afs/psi.ch/user/o/oderbolz/CAMxRunner/postproc/CAMx/4.51/single/10_prepare_output_dir.sh - CAMxRunner</title><link rel="stylesheet" type="text/css" href="../../../../../styles/main.css"><script language=JavaScript src="../../../../../javascript/main.js"></script><script language=JavaScript src="../../../../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.4 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="10_prepare_output_dir.sh"></a>10_prepare_output_dir.sh</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#10_prepare_output_dir.sh" >10_prepare_output_dir.sh</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#usage" >usage</a></td><td class=SDescription>Shows that this script can only be used from within the CAMxRunner For common scripts, remove the reference to CAMxRunner options</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#set_prepare_output_dir_variables" >set_prepare_output_dir_variables</a></td><td class=SDescription>Sets the needed variables needed for <a href="#prepare_output_dir" class=LFunction id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">prepare_output_dir</a></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#prepare_output_dir" >prepare_output_dir</a></td><td class=SDescription>Creates a directory for aqmfad containing softlinks to the input files By going through the Arrays containig the filenames</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="usage"></a>usage</h3><div class=CBody><p>Shows that this script can only be used from within the CAMxRunner For common scripts, remove the reference to CAMxRunner options</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="set_prepare_output_dir_variables"></a>set_prepare_output_dir_variables</h3><div class=CBody><p>Sets the needed variables needed for <a href="#prepare_output_dir" class=LFunction id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">prepare_output_dir</a></p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="prepare_output_dir"></a>prepare_output_dir</h3><div class=CBody><p>Creates a directory for aqmfad containing softlinks to the input files By going through the Arrays containig the filenames</p></div></div></div>

</div><!--Content-->


<div id=Footer>Copyright &copy; Daniel C. Oderbolz&nbsp; &middot;&nbsp; Updated August 13th, 2009&nbsp; &middot;&nbsp; <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>CAMxRunner<div class=MSubTitle>Code documentation</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Common</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../../../../common/01_math_functions-sh.html">01_math_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/10_string_functions-sh.html">10_string_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/11_date_functions-sh.html">11_date_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/12_path_functions-sh.html">12_path_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/30_version_control_functions-sh.html">30_version_control_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/40_check_functions-sh.html">40_check_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/50_state_functions-sh.html">50_state_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/51_task_functions-sh.html">51_task_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/60_variable_functions-sh.html">60_variable_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/71_camx_runner_functions-sh.html">71_camx_runner_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/72_installer_functions-sh.html">72_installer_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/73_user_functions-sh.html">73_user_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/80_array_functions-sh.html">80_array_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/90_module_functions-sh.html">90_module_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/CAMx/01_model_functions-sh.html">CAMx/<wbr>01_model_functions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../common/PMCAMx/01_model_functions-sh.html">PMCAMx/<wbr>01_model_functions.sh</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Installer</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">4.42</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-42/11_Converter_installer-sh.html">11_Converter_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-42/20_HDF_installer-sh.html">20_HDF_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-42/21_CAMx_installer-sh.html">21_CAMx_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-42/22_Pre_and_Postprocessor_installer-sh.html">22_Pre_and_Postprocessor_installer.sh</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">4.51</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-51/11_Converter_installer-sh.html">11_Converter_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-51/20_HDF_installer-sh.html">20_HDF_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-51/21_CAMx_installer-sh.html">21_CAMx_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-51/22_Pre_and_Postprocessor_installer-sh.html">22_Pre_and_Postprocessor_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/4-51/30_testcase_installer-sh.html">30_testcase_installer.sh</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../../inc/main_functions-inc.html">inc/<wbr>main_functions.inc</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Postproc</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">4.42</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../../4-42/single/10_prepare_output_dir-sh.html">10_prepare_output_dir.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/single/20_convert_output-sh.html">20_convert_output.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/single/30_run_aqmfad-sh.html">30_run_aqmfad.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/single/40_extract_station_data-sh.html">40_extract_station_data.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/single/60_avgdif-sh.html">60_avgdif.sh</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Extract_station_data</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../../4-42/single/extract_station_data/extract_arpa_stations-pro.html">extract_arpa_stations</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/single/extract_station_data/extract_nabel_stations-pro.html">extract_nabel_stations</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/single/extract_station_data/extract_stations-pro.html">extract_stations</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">4.51</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile id=MSelected>10_prepare_output_dir.sh</div></div><div class=MEntry><div class=MFile><a href="20_convert_output-sh.html">20_convert_output.sh</a></div></div><div class=MEntry><div class=MFile><a href="30_run_aqmfad-sh.html">30_run_aqmfad.sh</a></div></div><div class=MEntry><div class=MFile><a href="40_extract_station_data-sh.html">40_extract_station_data.sh</a></div></div><div class=MEntry><div class=MFile><a href="60_avgdif-sh.html">60_avgdif.sh</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Extract_station_data</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="extract_station_data/extract_arpa_stations-pro.html">extract_arpa_stations</a></div></div><div class=MEntry><div class=MFile><a href="extract_station_data/extract_nabel_stations-pro.html">extract_nabel_stations</a></div></div><div class=MEntry><div class=MFile><a href="extract_station_data/extract_stations-pro.html">extract_stations</a></div></div></div></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent15')">Preproc</a><div class=MGroupContent id=MGroupContent15><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">4.42</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/single/01_boundary_conditions-sh.html">01_boundary_conditions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/single/02_create_emissions-sh.html">02_create_emissions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/single/10_convert_emissions-sh.html">10_convert_emissions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/single/20_run_emifad-sh.html">20_run_emifad.sh</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Pre-start</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/pre-start/00_convert_input-sh.html">00_convert_input.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/pre-start/10_albedo_haze_ozone-sh.html">10_albedo_haze_ozone.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/pre-start/20_photolysis_rates-sh.html">20_photolysis_rates.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/pre-start/40_initial_conditions-sh.html">40_initial_conditions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-42/pre-start/50_check_input-sh.html">50_check_input.sh</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">4.51</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Pre-start</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/pre-start/00_convert_input-sh.html">00_convert_input.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/pre-start/10_albedo_haze_ozone-sh.html">10_albedo_haze_ozone.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/pre-start/20_photolysis_rates-sh.html">20_photolysis_rates.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/pre-start/40_initial_conditions-sh.html">40_initial_conditions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/pre-start/50_check_input-sh.html">50_check_input.sh</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Single</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/01_boundary_conditions-sh.html">01_boundary_conditions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/02_create_emissions-sh.html">02_create_emissions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/10_convert_emissions-sh.html">10_convert_emissions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/15_convert_bio_emissions-sh.html">15_convert_bio_emissions.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/20_prepbioe-sh.html">20_prepbioe.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/20_run_emifad-sh.html">20_run_emifad.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/CAMx/4-51/single/30_preporge-sh.html">30_preporge.sh</a></div></div></div></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent17')">Installer</a><div class=MGroupContent id=MGroupContent17><div class=MEntry><div class=MFile><a href="../../../../installer/10_CAMxRunner_installer-sh.html">10_CAMxRunner_installer.sh</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent16')">CAMx</a><div class=MGroupContent id=MGroupContent16><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/5-01/11_Converter_installer-sh.html">11_Converter_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/5-01/20_HDF_installer-sh.html">20_HDF_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/5-01/21_CAMx_installer-sh.html">21_CAMx_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/5-01/22_Pre_and_Postprocessor_installer-sh.html">22_Pre_and_Postprocessor_installer.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/CAMx/5-01/30_testcase_installer-sh.html">30_testcase_installer.sh</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../../installer/PMCAMx/2008/10_PMCAMx_installer-sh.html">PMCAMx/<wbr>2008/<wbr>10_PMCAMx_installer.sh</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../../CAMxRunner-sh.html">main_usage</a></div></div><div class=MEntry><div class=MFile><a href="../../../../PMCAMx-v2008-blank-.html">main_usage</a></div></div><div class=MEntry><div class=MFile><a href="../../../../PMCAMx-v2008-test-.html">main_usage</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent18')">Model</a><div class=MGroupContent id=MGroupContent18><div class=MEntry><div class=MFile><a href="../../../../model/CAMx/4-42/10_model-sh.html">CAMx/<wbr>4.42/<wbr>10_model.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../model/CAMx/4-51/10_model-sh.html">CAMx/<wbr>4.51/<wbr>10_model.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../model/PMCAMx/2008/10_model-sh.html">PMCAMx/<wbr>2008/<wbr>10_model.sh</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../finish/10_concatenate_station_data-sh.html">postproc/.../finish/<wbr>10_concatenate_station_data.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../4-42/finish/10_concatenate_station_data-sh.html">postproc/.../finish/<wbr>10_concatenate_station_data.sh</a></div></div><div class=MEntry><div class=MFile><a href="../../../../preproc/PMCAMx/2008/single/20_split_emissions-sh.html">preproc/.../single/<wbr>20_split_emissions.sh</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent19')">Index</a><div class=MGroupContent id=MGroupContent19><div class=MEntry><div class=MIndex><a href="../../../../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../../index/Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../../../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Files">Files</option><option value="Functions">Functions</option></select></div><script language=JavaScript><!--
HideAllBut([8, 9], 20);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction>Creates a directory for aqmfad containing softlinks to the input files By going through the Arrays containig the filenames</div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>