Hi,
I am trying to convert some ECMWF .nc data to .slf using the command:
converter.py ecmwf2srf --from '2011-05-01' --stop '2011-05-02' --bl '(52.41,-10.12)' --tr '(56.98,-4.93)' --dataset copernicus.nc --stream oper ecmwf.slf
but am getting the error:
+> set the mesh and connectivity
Traceback (most recent call last):
File "/home/tom/telemac/v8p2/scripts/python3/converter.py", line 295, in <module>
main()
File "/home/tom/telemac/v8p2/scripts/python3/converter.py", line 198, in main
ecmwf2srf(options.tfrom, options.tstop, options.blcorner,
File "/home/tom/telemac/v8p2/scripts/python3/data_manip/conversion/convert_ecmwf.py", line 340, in ecmwf2srf
write_file(req, file_type, download, dataset, stream,
File "/home/tom/telemac/v8p2/scripts/python3/data_manip/conversion/convert_ecmwf.py", line 268, in write_file
ecmwf2slf.set_geometry()
File "/home/tom/telemac/v8p2/scripts/python3/data_manip/formats/ecmwf.py", line 456, in set_geometry
raise TelemacException(
utils.exceptions.TelemacException: ... your spatial range seems out of bound:
you asked for [ 349.88-355.07], while x is:
array([-10.12, -9.87, -9.62, -9.37, -9.12, -8.87, -8.62, -8.37,
-8.12, -7.87, -7.62, -7.37, -7.12, -6.87, -6.62, -6.37,
-6.12, -5.87, -5.62, -5.37, -5.12], dtype=float32)
The data downloaded from the ECMWF site was in the box zone North 56.98°, West -10.12°, South 52.41°, East -4.93°.
Can anyone advise? I have attached the .nc file.
Thanks,
Tom