Hello,
We use mcidas to obtain some images from MSG satellites. The script we run
contains the following commands:
> dsserve.k ADD MSGS/3738 MSGS TYPE=IMAGE DIRFILE=/data/products/thread1/
> dsserve.k ADD AREA/3738 AREA 3738 3738
> imgcopy.k MSGS/3738 AREA/3738.1 BAND=11 LINele=0 0 SIZE=3712 3712
> mv ~/mcidas/data/AREA3738
> /data/products/Mcidas_MSG2-SEVI-MSG15-0100-NA-20061118025742.IR134
> dsserve.k DEL MSGS/3738
> dsserve.k DEL AREA/3738
On the directory /data/products/thread1/ is place the MSG native image.
An individual script works properly, but if we run some (about 64) in different
threads at the same time, we obtain undesirable effects. Some threads
interfering with others. Do you know if it is possible multithreading using
mcidas?
To try to solve the problem, we tried to change the MCPATH inside the each
script execution to point the data directory (different for each thread),
instead the ~/mcidas/data directory. But the image is not generate.
Could you give some advice about how to work with multiple threads?
Thanks a lot,
Anastasia