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

Stats not displayed for some CanESM2 climdices #176

Closed
corviday opened this issue Sep 14, 2018 · 3 comments · Fixed by #247
Closed

Stats not displayed for some CanESM2 climdices #176

corviday opened this issue Sep 14, 2018 · 3 comments · Fixed by #247
Labels
bug Error in the application that needs to be fixed

Comments

@corviday
Copy link
Contributor

corviday commented Sep 14, 2018

CanESM2 rcp85 tnnETCCDI, tnxETCCDI, txxETCCDI, and txnWTCCDI return the following error message on the stats table:

selected[0] is undefined

Possibly an instance of this backend issue, which occurs when the backend attempts to aggregate data across files that use different units for the same variable. The four variables involved are among the handful known to have different units (degC vs. degrees_C), but I haven't verified this is the case.

@corviday
Copy link
Contributor Author

corviday commented Sep 14, 2018

SELECT DISTINCT 
  variable_aliases.variable_units, 
  models.model_short_name, 
  variable_aliases.variable_standard_name
FROM 
  ce_meta.ensembles, 
  ce_meta.ensemble_data_file_variables, 
  ce_meta.data_file_variables, 
  ce_meta.models, 
  ce_meta.data_files, 
  ce_meta.runs, 
  ce_meta.emissions, 
  ce_meta.variable_aliases
WHERE 
  ensembles.ensemble_id = ensemble_data_file_variables.ensemble_id AND
  ensemble_data_file_variables.data_file_variable_id = data_file_variables.data_file_variable_id AND
  data_file_variables.data_file_id = data_files.data_file_id AND
  data_file_variables.variable_alias_id = variable_aliases.variable_alias_id AND
  data_files.run_id = runs.run_id AND
  runs.model_id = models.model_id AND
  runs.emission_id = emissions.emission_id AND
  ensembles.ensemble_name LIKE 'ce_files' AND 
  models.model_short_name LIKE 'CanESM2' AND 
  variable_aliases.variable_standard_name LIKE 't%ETCCDI';
variable_units model_short_name Variable_standard_name
% CanESM2 tn10pETCCDI
degC CanESM2 tnnETCCDI
% CanESM2 tc90ETCCDI
degC CanESM2 tnxETCCDI
days CanESM2 trETCCDI
degC CanESM2 txnETCCDI
degC CanESM2 txxETCCDI
% CanESM2 tx10pETCCDI
% CanESM2 tn90pETCCDI

Not a units issue.

@corviday corviday added the bug Error in the application that needs to be fixed label Sep 18, 2018
@corviday
Copy link
Contributor Author

Anecdotal observations have left me with the guess that the issue is the stats table is asking for monthly stats on annual-only datasets.

@rod-glover
Copy link
Contributor

There's no variable tc90ETCCDI, but there is a tx90ETCCDI, which is not listed here. Assuming this is a typo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Error in the application that needs to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants