QDOAS Command Line Tool (doas_cl) The QDOAS package includes a very powerful command line tool : doas_cl. It consists in a separate module to load from the command line with a xml configuration file (a QDOAS application or the configuration file built from the convolution/filtering, ring or undersampling tool). To see the syntax, just run doas_cl without arguments :
doas_cl is useful to process large amount of files (for example satellite data). It applies on spectra and directories. An output file name different from the one given in the Output page of Projects Properties can be specified. The xml input configuration file can be modified by the calling batch for specific needs. Example of doas_cl command included in a bash file :
This command uses the QDOAS_Harestua.xml file previously generated by QDOAS. It loads the project “Harestua” (important to specify if several projects exist in the application). The output file name is generated automatically (see the output page of projects properties). Important : always use slash as path separator for doas_cl file arguments (input and output) even if you work under Windows. For the convolution tool, the switch –f applies only to one file but the command can be called several times from a batch. For the ring tool, the switch –f modifies the final calibration grid. To change other parameters, it is better to write a piece of code to modify the xml file. About the -xml switch, see the QDOAS S/W user manual.
|