||
Author: Zijun Wang, Jinlin Unv. wzj08@mails.jlu.edu.cn
Case 1. You may want to do a large number of radiance simulation by SCIATRAN as a function of series satellite geometry or geophysical paramters;
Case 2. You may want to call SCIATRAN in your program used to retrieve trace gases profiles, calculate weighting function, study the sensitivity of radiance or retrieved paramters to geophysical, atmospheric parameters, or satellite paramters
One of the method is
1. Embeding SCIATRAN in Your Program written as FORTRAN, C++, or MATLAB et al, which Executed as Command Line. i.e. calling the system function as system('SCIA_INTEL.exe').
2. Meanwhile, writing some interface function to set model paramters into SCIATRAN package and read the model radiance result used for your program.
Fig. A sample script in matlab illustrate the model parameters setting, SCIATRAN calling and modeled intensity reading out.
Please Note that you may need to change your current directory where the SCIA_INTEL.exe is and Execute the Command 'ulimit -s unlimited' in the terminal, furthermore, the current directory of the running program is also the place loaded SCIA_INTEL.exe.
For case 1, you are greatly suggested to generate series model paramters in a file, and write a program to call the function, which read one paramters set to write into the SCIATRAN setting files and perform the SCIATRAN recursively. It is notably that your may need execute the command 'ulimit -s unlimited' first of all in the terminal, and then can run your program happily.
For case 2, you just call the SCIATRAN where you need to model the radiance by the function 'system' which is availabe in FORTRAN, C++, MATLAB Command Line at least. But Notably also you may need execute the command 'ulimit -s unlimited' before running your program.
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-1 08:56
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社