Skip to content
Carlos Rueda edited this page Jul 23, 2014 · 27 revisions

CF Standard Names Vocabulary Browser

Note: This CF Standard Names browser has experimental status, so its functionality is subject to change at any time.

Providing feedback. Your feedback is most welcome. You can create an issue or suggestion for the tool using the Github issues feature. You can of course also fork the repo, and contribute back your changes by submitting pull requests.

The tool is currently available at http://mmisw.org/experimental/cfsn, and the examples in the description below use this location.

What it is

This tool is a user-oriented search and browse service for the CF standard names, using the vocabulary as loaded into the MMI Ontology Registry and Repository (ORR), and driven by queries against the associated ORR SPARQL endpoint.

It is implemented in Javascript using AngularJS. In its current form, the only external runtime dependency is the SPARQL endpoint. Since this endpoint is CORS-enabled, the CF Browser can be installed even on your local computer.

Main page

http://mmisw.org/experimental/cfsn—Displays a table with all standard names. Navigation relies on clicking the displayed standard names and using the search options (see below). The search field at the top of the table applies a global filtering; the search fields in the column headers allow further narrowing of the results.

The field "Page size" changes the maximum number of names to show in the table. Enter the desired number and press Enter. If you enter an empty string or click the "Show all" button, all names that meet the filtering criteria will be displayed.

Navigation by page number is available at the bottom of each page. That section also shows how many terms satisfy the current filter criteria.

Words with underscores in the Description field are linked. If the word is in blue, it is a CF term and the link leads to the page for that term. If the word is in green, it is a common phrase or keyword, and the link leads to a search for that phrase anywhere in the attributes, making it trivial to find all the occurrences of the linked phrase in the CF standard name documentation.

Searching

As indicated above, there is a field for applying a global filtering, and also individual search fields for each column in the main table.

Global search

There are three modes of global search.

  • Literal: In this mode the search checks if the given input is an exact substring in any attributes of each term. Example: http://mmisw.org/experimental/cfsn/#/search/zenith. In Literal mode, the filter results are automatically updated as the field is edited.

  • Glob: This mode interprets the standard * and ? characters as denoting "any sequence of characters" and "any single character", respectively. Example: http://mmisw.org/experimental/cfsn/#/search/!g/*model performs a "glob" search with input *model. Note that a glob search is matched against the whole contents of each of the attribute cells, so search for *model will only find terms with an attribute ending in '*model'.

  • Regex: This mode applies a given regular expression for the filtering. For example: http://mmisw.org/experimental/cfsn/#/search/!r/^mass_.*_air$—do a "regex" search with input ^mass_.*_air$ (finds strings that begin 'mass_' and end '_air'). Note that without the anchors ^ or $, a regex will match any part of the attribute string.

In the "Glob" and "Regex" modes, press Enter (or change the search mode) to execute the search.

Whenever you press the Enter key in the main global search field or changing the global search mode, the URL in the browser location field is updated to create the corresponding search URL. This facilitates navigation (based on browser history) and sharing of search links.

Individual column search

Applied against the results of the global filtering as explained above, the individual column search fields at the top of each column allow further refinement of the terms. For these strings, only a literal check against the column contents is performed; if the given input is found as a substring in that attribute, the corresponding term is included.

Individual column search strings are not reflected in the search URL.

Display an individual standard name

http://mmisw.org/experimental/cfsn/#/sea_surface_temperature—Displays the description and canonical units of the particular name ("sea_surface_temperature").

This view also includes URIs of the corresponding vocabulary term in known semantic repositories, along with links to retrieve the term in available formats. Currently, these are the MMI Ontology Registry and Repository, and the NERC Vocabulary Server. Suggestions are welcome for additional repository services to link.

Eventually, this view can also include:

  • Mapped terms according to SKOS properties (exactMatch, closeMatch, etc.,), OWL's sameAs property, and others. This will be at the basic level of hyperlinking the found URIs/links; further navigation will be via direct opening of those links and not through this tool.
  • Counts of mappings for the term.
Clone this wiki locally