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

CZO Central WOF codes vs viz.criticalzone.org codes #1

Open
emiliom opened this issue Feb 11, 2016 · 0 comments
Open

CZO Central WOF codes vs viz.criticalzone.org codes #1

emiliom opened this issue Feb 11, 2016 · 0 comments

Comments

@emiliom
Copy link
Member

emiliom commented Feb 11, 2016

Here is one example of a CZOCentral WaterOneFlow data stream, as represented in viz.criticalzone.org and CZOCentral WOF:

I picked a Christina River site b/c @aufdenkampe can weigh in with direct expertise.

Note that there's effectively a mapping between the WOF site code czo_udel:MCCORKLES2 and the viz site code CRB2CZO_MCCORKLES2, and you can see that the string token MCCORKLES2 is identical. This pattern applies in almost all cases (say, >95%), except when the WOF site code included undesirable characters that we needed to sanitize.

I can provide a table mapping of WOF site codes and viz site codes. We could host it on github, so SDSC can harvest it easily, I can update it easily as needed, and it's accessible to others who may find use for it.

The mappings at the level of variables is trickier, are not 1:1, and will evolve over the next couple of months. Right now on viz we have url parameters such as the sw_temperatur_119 token at the end of this url: http://viz.criticalzone.org/Christina?action=oiw:fixed_platform:CRB2CZO_MCCORKLES2:observations:sw_temperatur_119

sw_temperatur_119 is a token I'm constructing using some heuristics, where sw is a shorthand for the sample medium (in this case, sw = surface water), temperatur is a substring of the WOF/WaterML variable code, and 119 is an integer counter (I forget its exact derivation at this moment).

Pinging @SRGDamia1, @tom2275, @valentinedwv, @izaslavsky and @dlubinski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant