Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with running TaylorDiagram #298

Open
fghiami opened this issue Aug 22, 2022 · 3 comments
Open

Error with running TaylorDiagram #298

fghiami opened this issue Aug 22, 2022 · 3 comments
Assignees
Labels
bug Bugs in the current release of openair models 📊 Model evaluation, e.g., modStats

Comments

@fghiami
Copy link

fghiami commented Aug 22, 2022

When I run TaylorDiagram, setting type = "my stations name", it gives me the error:

Error in unit(0.5 * showr, "strwidth", list(right)) :
no string supplied for 'strwidth/height' unit

Any solution for that?

@jack-davison jack-davison added bug Bugs in the current release of openair models 📊 Model evaluation, e.g., modStats labels Feb 7, 2023
@jack-davison
Copy link
Collaborator

Hi fghiami,

Please provide a reproducible example and we can assist you.

We'd ideally need the data you're using and the code you're running. Then we can try to recreate your problem on our computers.

Cheers,
Jack

@jack-davison jack-davison closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
@jack-davison jack-davison reopened this Sep 28, 2023
@jack-davison
Copy link
Collaborator

jack-davison commented Sep 28, 2023

Actually, I have been able to recreate this quite simply;

openair::TaylorDiagram(openairmaps::polar_data,
                       "nox", "no2",
                       type = "site")
#> Error in unit(0.5 * showr, "strwidth", list(right)): no string supplied for 'strwidth/height' unit

Created on 2023-09-28 with reprex v2.0.2

This function is very long in the tooth and not one I use regularly; @davidcarslaw is this something you'd be able to investigate?

@Francisca-Z
Copy link

Hi @jack-davison, I saw the discussion yesterday as I came into the same error, but for the "season" type, while trying to run this:
TaylorDiagram( gathered,
obs = "obs_tas",
mod = "tas",
group = "models",
type = "season")
Example of my data are attached here as csv file.
I hope this helps.
Thanks in advance!
example_data.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in the current release of openair models 📊 Model evaluation, e.g., modStats
Projects
None yet
Development

No branches or pull requests

4 participants