GithubHelp home page GithubHelp logo

Error in another wyoming url about climate HOT 3 CLOSED

bczernecki avatar bczernecki commented on September 24, 2024
Error in another wyoming url

from climate.

Comments (3)

bczernecki avatar bczernecki commented on September 24, 2024

Hi @MengXin001

First of all thank you for using climate and giving us the feedback.

I have added some improvements in the dev version that should handle the BUFR sounding format.
Please let me know if this piece of code works properly for you:

install_github("bczernecki/climate", def = "dev")

Then you can check these 2 examples that were added to examples section:

library(climate)
TEMP = sounding_wyoming(wmo_id = 45004, yy = 2021, mm = 07, dd = 17, hh = 12, min = 00)
BUFR = sounding_wyoming(wmo_id = 45004, yy = 2021, mm = 07, dd = 17, hh = 12, min = 00, bufr = TRUE)

The changes will be officially released once new update of climate will be sent to CRAN.

Thanks!
Bartek

from climate.

MengXin001 avatar MengXin001 commented on September 24, 2024

It works well! By the way, we also need to pay attention to that in the data of BUFR, the unit of wind speed is m/s rather than kt, and the unit conversion should be carried out when drawing the sounding.
Thank you for updating this program!

from climate.

bczernecki avatar bczernecki commented on September 24, 2024

If the bufr = TRUE is used then it is automagically converted to knots to keep the same structure as for sounding derived from TEMP format (as described in documentation).

from climate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.