Dear all,
I am trying to calibrate models using parameter optimization tools applying TelApy and another python package called "SPOTPY". So far, TelApy has been very helpful and useful thanks to the developers. However, I have some uncertainties and errors that I would like to ask.
1. In TelApy documentation, it is mentioned that "MODEL.CHESTR" variable as "Strikler on point". Thus, I assumed it is working only with the Strikler Friction law but when I tested with other laws, it works as well. So is "MODEL.CHESTR" for Friction coefficient for every friction law?
2. When I use TPXO for initial conditions as binary database for tide. It is showing me the following error. In the documentation, it is mentioned that modification should be done before memory allocation but I dun know how. Is there any example or documents as I might use other database such as netcdf. The error is as follow:
INITIALISATION BASED ON TPXO:
At line 2543 of file /home/sone/telemac-mascaret/v8p0r2/sources/telemac2d/tpxo.f
Fortran runtime error: Index '251658240' of dimension 1 of array 'c_id_mod' outside of expected range (29:1)
3. I have tested out genop and in there I believe "nproc" is used to parallel the genetic algorithm. So it is running each evolution in each core which mean one telemac simulation is carried out in each core. Am I correct? I am using SCEUA algorithm and it is carried out in similar process. But the limitation is for SCEUA the number of cores can be utilized on the number of complexes which I believe will be depend on population in GA. So my question is : is that possible to simulate the model in parallel and run the optimization algorithm in sequential. I am thinking about making a script for simulating the model and run it by subprocess. But is there any better idea coz I am not very fluent in python. Thank you.
4. When using TelApy with python3. I am getting this following error:
Traceback (most recent call last):
File "test.py", line 7, in <module>
project = Telemac2d('t2d_breach.cas',lang=2,comm=MPI.COMM_WORLD)
File "/home/sone/telemac-mascaret/latest/scripts/python3/telapy/api/t2d.py", line 58, in __init__
comm, recompile)
File "/home/sone/telemac-mascaret/latest/scripts/python3/telapy/api/api_module.py", line 167, in __init__
getattr(self.api_inter, "get_integer_array_" + self.name)
AttributeError: 'fortran' object has no attribute 'get_integer_array_t2d'
My compilation was successful.
Thank you so much for your time. Looking forward to your reply and suggestion.
Best Regards,
Htun