prcwiek / pmetar Goto Github PK
View Code? Open in Web Editor NEWProcessing METAR weather reports package
License: GNU General Public License v3.0
Processing METAR weather reports package
License: GNU General Public License v3.0
Hi,
i want to decode a station metar data with the "metar_decode" command. when i run it over a short period (less than a year) i works fine, but when i want 3 or 4 years period the package returns an error :
"pmetar package error: it is not a metar weather report!"
while it is really a weather report. I used the following code:
NFTL<-metar_get_historical("NFTL", start_date = "2021-01-01", end_date = "2021-12-01", from = "iastate")
decoded_NFTL <- metar_decode(NFTL, metric = TRUE, altimeter = FALSE)
The following parses the temperature as -273 degrees:
x <- "201905070355 METAR KDCA 070355Z AUTO 20005KT 10SM CLR A3010 RMK T0180 MADISHF"
df <- metar_decode(x, as_data_frame = TRUE)
Hi. First of all, thank you so much for your work.
I'm having an issue with the metar_decode function. The function works well when I use this function for a relatively small dataset (I mean a year of data for one airport). However, when I tried to use it with a bigger data sample (more than a year), an error displayed with the following sentence "Error: pmetar package error: Incorrect METAR weather report found and cannot be decoded!"
It is essential to mention that I also use the function metar_is_correct (and remove the incorrect data) before using the decode function.
Thanks!
Hi.
Please update the syntax used in pmetar::metar_location.
In the following, visibility
is parsed as NA
when the original METAR says 4 statute miles ("4SM"):
x <- "201905041400 METAR KDCA 041400Z AUTO 07004KT 4SM HZ OVC009 20/17 A2987 RMK T02000170 MADISHF"
df <- metar_decode(x, as_data_frame = TRUE)
In the following, visibility
is parsed as 1
when the original METAR says "1 3/4 SM":
x <- "201905121244 METAR KDCA 121244Z 05010KT 1 3/4SM R01/6000VP6000FT -RA BR OVC007 14/12 A2978 RMK AO2 P0002 T01390122"
df <- metar_decode(x, as_data_frame = TRUE)
Dear maintainer,
Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_pmetar.html.
Please correct before 2021-11-12 to safely retain your package on CRAN.
It seems we need to remind you of the CRAN policy:
'Packages which use Internet resources should fail gracefully with an informative message
if the resource is not available or has changed (and not give a check warning nor error).'
This needs correction whether or not the resource recovers.
The CRAN Team
Problems appears on Windows. with downloading data from the Ogimet server with metar_get_historical. On linux, Xubuntu, the downloading works correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.