Welcome, Guest
Username: Password: Remember me

TOPIC: converter.py ecmwf2srf

converter.py ecmwf2srf 4 years 1 month ago #36886

  • cath
  • cath's Avatar
  • OFFLINE
  • Moderator
  • Posts: 52
  • Thank you received: 24
Hello, I am running the python script (in v8p0 converter.py to exctract met data in slf file format.
The met data is covering the range 26<Y<66 deg N and -28 <X<8 deg E

I am trying to extract a subdomain 44<Y<47 and -2<X<1 with the following command :

converter.py ecmwf2srf --from date1 --stop date2 --bl 44,-2 --tr 47,1
I get the following error message:

your spatial range is out of bond
you asked for [ 358.0-1], while x is:
array([-28. , -27.75, -27.5 , -27.25, -27. , -26.75, -26.5 , -26.25,
-26. , -25.75, -25.5 , -25.25, -25. , -24.75, -24.5 , -24.25,
-24. , -23.75, -23.5 , -23.25, -23. , -22.75, -22.5 , -22.25,
-22. , -21.75, -21.5 , -21.25, -21. , -20.75, -20.5 , -20.25,
-20. , -19.75, -19.5 , -19.25, -19. , -18.75, -18.5 , -18.25,
-18. , -17.75, -17.5 , -17.25, -17. , -16.75, -16.5 , -16.25,
-16. , -15.75, -15.5 , -15.25, -15. , -14.75, -14.5 , -14.25,
-14. , -13.75, -13.5 , -13.25, -13. , -12.75, -12.5 , -12.25,
-12. , -11.75, -11.5 , -11.25, -11. , -10.75, -10.5 , -10.25,
-10. , -9.75, -9.5 , -9.25, -9. , -8.75, -8.5 , -8.25,
-8. , -7.75, -7.5 , -7.25, -7. , -6.75, -6.5 , -6.25,
-6. , -5.75, -5.5 , -5.25, -5. , -4.75, -4.5 , -4.25,
-4. , -3.75, -3.5 , -3.25, -3. , -2.75, -2.5 , -2.25,
-2. , -1.75, -1.5 , -1.25, -1. , -0.75, -0.5 , -0.25,
0. , 0.25, 0.5 , 0.75, 1. , 1.25, 1.5 , 1.75,
2. , 2.25, 2.5 , 2.75, 3. , 3.25, 3.5 , 3.75,
4. , 4.25, 4.5 , 4.75, 5. , 5.25, 5.5 , 5.75,
6. , 6.25, 6.5 , 6.75, 7. , 7.25, 7.5 , 7.75,
8. ], dtype=float32)

Any clue??
The administrator has disabled public write access.
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.