Closed ajoros closed 8 years ago
@ajoros. thanks for pointing this out. Closing this issue here as it originates in the API. We are tracking it...will try to get it released with the API v2.5 (no estimated release date yet).
Thanks Josh, do you have any temporary work around for this? I was thinking using SciPy's F2C() function on the Fahrenheit temperature data and just convert on the fly to Celcius. Not sure if this would reduce any accuracy of the data returned by the Mesowest API.
Andrew Joros Assistant Research Scientist Applied Innovation Center Division of Earth and Ecosystem Sciences Desert Research Institute, 2215 Raggio Parkway Reno, NV 89512 Office: 775.674.7112
On Wed, Feb 17, 2016 at 1:10 PM, Joshua Clark notifications@github.com wrote:
@ajoros https://github.com/ajoros. thanks for pointing this out. Closing this issue here as it originates in the API. We are tracking it...will try to get it released with the API v2.5 (no estimated release date yet).
— Reply to this email directly or view it on GitHub https://github.com/mesowx/MesoPy/issues/19#issuecomment-185404801.
@ajoros The MesoPy request you have made is already in Celsius. By default, our API outputs metric. If you'd like, this can be changed by using the units
parameters. Ex. units=english
would yield temp in Fahrenheit, wind speed in mph, etc.
Josh,
Yea i figured that out last night doing some testing on my own. I'll just have to wait until you guys fix the "rounding to nearest whole number" issue is fixed. For now I guess I can just use the MESOWEST API until MesoPy is patched.
Thanks man,
AJ
@ajoros It's an API issue, no problems with MesoPy (for now...)
Ahhhh your right... It looks like this issue with rounding to whole number is occurring after a specific date for various airport sites.
Joshua, is there any update on if the "bad" rounded data was correct and fixed at all? I know this was an issue at the Mesowest API end of things.
Temperature for airport locations (KLAX, KLAS, etc.) seem to be rounding to whole numbers when using metric units.
When I view an example online via MesoWest website the rounding issue doesn't seem to be present. http://mesowest.utah.edu/cgi-bin/droman/meso_base_dyn.cgi?stn=KLAS&unit=1&timetype=LOCAL