Questions tagged [openair]

0

votes
0

answer
4

Views

Display alert message using Form Script in Netsuite OpenAir in Project record

I have written a 'Form script' for Project record in Netsuite-OpenAir. I would like to display an alert message on clicking on the 'Save' button in Project record. The code that I have currently written in the form script is: NSOA.meta.alert('Form Alert Message'); But it seems that this alert messa...
Anand Rajaram
1

votes
1

answer
86

Views

Error - unable to compute hourly averages using timeAverage() function

I am trying to calculate the hourly averages (January 2014) of a dataset using timeAverage() function. The command looks like follows: AQHr str(my_data$date) Date[1:192840], format: '1993-12-31' '1994-01-01' '1994-01-01' '1994-01-01' '1994-01-01' '1994-01-01' '1994-01-01' '1994-01-01' '1994-01-01'...
Jibran Khan
1

votes
0

answer
520

Views

“argument ”x“ is missing, with no default” in openair package

I want to calculate Cluster with the 'Openair' package. I read the trajectory data with: traj_2010
user9871061
0

votes
0

answer
4

Views

Open Air SOAP API sample XML request for loaded cost

Below sample request gives me invalid parameter error in SOAP API for Open Air SOAP Wsdl : a 1 1 USD 0 Please let me know what i'm doing wrong here !!! Thanks
ssdg
1

votes
2

answer
1k

Views

Fixing plot scale of windRose of R package

I would appreciate your help. I am using the function windRose of the openair package for R. I am doing wind roses for wind date from many stations, and I need to compare the results from all roses together. The problem is that the windRose function fixes the maximum radius of the windrose to a lit...
Ferjara77
1

votes
1

answer
354

Views

How change the scale and labels in scatterPlot of the openair package of R

How to change the labels of the values on the x-axis of a scatterPlot of the openair package? And how to change the scale on this x-axis?
Dani Depi
0

votes
0

answer
3

Views

OpenAir SOAP API throws perl error from SOAP UI

I couldn't test a read request operation of the Openair SOAP API using SOAP UI. Got the below error : ' Failed to access class (perl): Can't locate perl.pm in @INC (@INC contains:) at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFa...
ssdg
1

votes
1

answer
415

Views

Create polar plots but missing data

We have these data below in a csv file and we would like to create a polar plot from them. We are going to use this R package - openair for creating the polar plot. timestamp humandate NOppb 1 1412877113 09/10/2014 13:51 19 2 1412876508 09/10/2014 13:41 3 1412876508...
laukok
1

votes
2

answer
1.3k

Views

windrose error: Error in Summary.factor ‘min’ not meaningful for factors

I am using windRose in openair package in R (3.2.1), using R studio. library(openair) mydata = read.csv('sample.csv') windRose(mydata) Whether I use my own data (sample.csv): date,ws,wd 14/10/2014 09:00,1.4,357 14/10/2014 10:00,1.5,49 14/10/2014 11:00,0.1,274 14/10/2014 12:00,0.3,77 14/10/2014 13:00...
lost in R
0

votes
0

answer
4

Views

How to make custom axes of polar frequency plot (OpenAir Package) in R?

I am trying to plot data on a polar frequency plot in R using the OpenAir package. I am plotting data from spring and summer. To compare the two seasons, I want to set the axes scale as the same between the two seasons. One season (spring) usually has much lower values than summer so was hoping to a...
danrod13
1

votes
1

answer
419

Views

Two variables plotted in a same graphic using 'scatterPlot' from package 'openair'

About the command 'scatterPlot' from package 'openair' of R, I used the following command: data(mydata) scatterPlot(mydata, x = 'nox', y = 'no2', method = 'hexbin', colorcut = seq(0, 1, length = 7), cols = 'default', trans=log, inv=exp) and I got this graphic: I need to know if it is possible to ha...
Dani Depi
1

votes
1

answer
481

Views

Error in object[[name, exact = TRUE]] : subscript out of bounds

I have these data: > dput(dataF) structure(list(key_date = c('2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01', '2016-09-01'...
laukok
1

votes
1

answer
2.1k

Views

Increase font size when using 'openair' package to draw wind rose diagram?

I'm having difficulties changing font sizes in the wind rose diagram produced by the openair package. The windRose plots all right. But the documentation for the package does not seem to specify how to change the font sizes for the title, labels and ticks. par(cex.lab=, cex.axis=, cex.main=, cex.su...
RookieGreen
1

votes
2

answer
2.5k

Views

Removing default title from wind rose in 'openair' package

I have created a wind rose using the package 'openair', for water current and direction data. However, a default title is applied to the plot 'Frequency of counts by wind direction (%)' which is not applicable to water current data. I cannot remove the title - can anyone help? windRose(Wind, ws = '...
Jesinsky
1

votes
1

answer
240

Views

error with scatterPlot

I am plotting trajectories (latitude vs longitude) with R's scatterPlot from openair package. When grouping the trajectories with the 'group' option, the last group doesn't get plotted. Here is a sample code: df = data.frame(name = c(rep('C1',10),rep('C2',10),rep('C3',10),rep('C4',10)), lat = seq(1,...
Ilik
2

votes
0

answer
115

Views

Align the text of main, sub, and xlab to the left

How can I left-align the text of main, sub, and xlab on openair? timePlot( main = 'Liberty E -9', sub = 'Time Period: September 30, 2014 - June 30, 2015', allData, pollutant = c('PM2.5', 'humidity'), avg.time = '1 hour', lwd = 2, lty = 1, name.pol = c('PM 2.5 particulate ug/m3', 'Device Humidity %'...
laukok
5

votes
2

answer
809

Views

OpenAI gym player mode

Does anyone know how to run one of the OpenAI gym environments as a player. As in letting a human player play a round of cart pole? I have seen that there is env.mode = 'human' but I have not been able to get it to run properly. I have tried to follow the example given here https://www.pinchofintell...
user3704648
2

votes
2

answer
99

Views

Aggregate df based on columns and group result

I am trying to do the following, my dataset looks like this it contains a date in POSIXct format, hourly windspeed and hourly wind direction (df is called wind_DNSeason). My goal is to get frequency counts of windspeed according to the beaufort scale based on season and daylight. date...
user1807857
2

votes
3

answer
464

Views

Clean bad data automatically [duplicate]

This question already has an answer here: How to convert a factor to integer\numeric without loss of information? 7 answers I am building an App using shiny and openair to analyze wind data. Right now the data needs to be “cleaned” before uploading by the user. I am interested in doing this aut...
eliavs
2

votes
1

answer
317

Views

Plot different colours based on the conditions

This is the first 10 rows of my data frame: head(test.data,10) # A tibble: 10 x 5 date o2.permeg co2.ppm apo o2.spike 1 2015-01-01 00:00:00 -685.09 413.023 -354.1816 N 2 2015-01-01 00:02:00 -695.10 412.894 -364.8690 N 3 2015-01-01 00:04:00 -687.84 412.979 -...
Tung Linh
2

votes
1

answer
74

Views

Show year in x axis labels in timePlot() function

I found one relevant question here, but my story is different. Using R OpenAir package, I am trying to create some beautiful timeseries plots (time period: December 2014 - May 2015). Here is the code: timePlot(data, pollutant=c('NO_predicted', 'NO_modelled'), group = TRUE, cols=c('blue', 'red'), dat...
Jibran Khan
2

votes
1

answer
203

Views

Add text in windrose plot

Does anyone know how to add addition text and expand its character in any desired position in windrose plot in R? I am using the the package openair for plotting windrose diagram. Consider the following code that I am using: windRose(ambala.march.12hrs, ws = 'FFF', wd = 'WD_Deg',key.header = '(km/...
user2968058
2

votes
0

answer
95

Views

Adding different labels to each point on a Taylor diagram

I was trying to plot Taylor diagram to compare original and bias-corrected rainfall for five rain gauge stations using 'openair' package. The plotting is okay, but I want to label each point by their name for same for each panel. How can I do that? Solutions will be highly appreciated. I am using th...
Khairul
2

votes
1

answer
1.5k

Views

Error in setwd(bundleDir) : cannot change working directory

Can I develop a R Shiny app that requires other packages? For instance, ui.R, shinyServer( pageWithSidebar( headerPanel('Shiny App'), sidebarPanel('side bar'), mainPanel( plotOutput('myPlot') ) ) ) server.R, shinyServer( function(input, output, session) { output$myPlot = renderPlot({ library('openai...
laukok