inconsistent units in atmospheric pressure between waqtel and telemac2d/3d
It appears that different units are used for atmospheric pressure in different modules. In TELEMAC-2d and TELEMAC-3D, the unit is Pa (see e.g. the file binary atmospheric data file pressure.slf in examples\telemac2d\tide), where in WAQTEL, the unit is hPA (see in the ascii atmospheric data file in meteo_thermic_case1.txt examples\waqtel\waq2d_thermic).
This leads to problems in case one wants to use the binary atmospheric data file with air pressure effects on hydrodynamics as well as on temperature. I see three possible solutions:
1.) Apply all air pressure data in hPa (advantage: this is the most often used unit). In this case, the input file for the tide test case need to be remade, and internally some conversions need to be done in the calculation of the air pressure gradient in TELEMAC2d/3d.
2.)Apply all air pressure data in Pa. (advantage, this is the SI unit). In this case, some waqtel cases need new input files, and some conversions need to be done internally in waqtel
3.)Keep the units for the files as it is now (hPa in ascii file, Pa in binary file). (advantage: backward compatibility. However, it is inconsistent and thus confusing). In this case, only some code changes are needed.
@chi-tuan.pham What do you think is the best option? In my opinion either option 1 or 2.