Skip to content

Weather anomaly baseline values may exist outside of DerivedValue table #74

Description

@rod-glover

Weather anomaly baseline values are currently extracted only from the DerivedValue table. Baselines are climatologies. Recently I noticed that there are also a lot of climatological values stored in Obs. For example:

db/crmp=> select count(obs_raw.*)
from 
    obs_raw join meta_vars v on  obs_raw.vars_id = v.vars_id
where     
      v.net_var_name = 'Precip_Climatology'
;
 count 
-------
 17130

This suggests that

  • we should be getting some or all baseline values from Obs
  • or we should transfer these into DerivedValue
  • and consider how and why it is that non-observational data is stored in Obs, a.k.a. obs_raw as in "raw observations"

Only the first item can be addressed entirely within this backend. The others require work outside of it.

As a first step, we can certainly investigate how the climatologies in the two tables compare, and whether it would be wise to obtain our baselines from both places. Potentially this could expand the weather anomaly station coverage significantly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions