GRIB File Reader

From Pyxis public wiki
Jump to navigation Jump to search

Summary: {{ #if: A process for reading World Meteorological Organization (WMO) Gridded Binary weather data. see A process for reading World Meteorological Organization (WMO) Gridded Binary weather data. see | No summary provided. }}

Input: {{ #if: Grib File Path |*Grib File Path (1 Path) The file that this process will read. | This process has no input. }} {{ #if: |*{{{name2}}} ({{{count2}}} [[:Category:{{{type2}}}|{{{type2}}}]]) {{{desc2}}} }} {{ #if: |*{{{name3}}} ({{{count3}}} [[:Category:{{{type3}}}|{{{type3}}}]]) {{{desc3}}} }} {{ #if: |*{{{name4}}} ({{{count4}}} [[:Category:{{{type4}}}|{{{type4}}}]]) {{{desc4}}} }} {{ #if: |*{{{name5}}} ({{{count5}}} [[:Category:{{{type5}}}|{{{type5}}}]]) {{{desc5}}} }} {{ #if: |*{{{name6}}} ({{{count6}}} [[:Category:{{{type6}}}|{{{type6}}}]]) {{{desc6}}} }} {{ #if: |*{{{name7}}} ({{{count7}}} [[:Category:{{{type7}}}|{{{type7}}}]]) {{{desc7}}} }} {{ #if: |*{{{name8}}} ({{{count8}}} [[:Category:{{{type8}}}|{{{type8}}}]]) {{{desc8}}} }} {{ #if: |*{{{name9}}} ({{{count9}}} [[:Category:{{{type9}}}|{{{type9}}}]]) {{{desc9}}} }}

Output: {{ #if: XYCoverage|XYCoverage|ERROR, NO OUTPUTS SPECIFIED! }} {{ #if: Feature Collection |, Feature Collection }} {{ #if: Feature |, Feature }} {{ #if: |, [[:Category:{{{output_type4}}}|{{{output_type4}}}]][[Category:{{{output_type4}}}]] }} {{ #if: |, [[:Category:{{{output_type5}}}|{{{output_type5}}}]][[Category:{{{output_type5}}}]] }} {{ #if: |, [[:Category:{{{output_type6}}}|{{{output_type6}}}]][[Category:{{{output_type6}}}]] }} {{ #if: |, [[:Category:{{{output_type7}}}|{{{output_type7}}}]][[Category:{{{output_type7}}}]] }} {{ #if: |, [[:Category:{{{output_type8}}}|{{{output_type8}}}]][[Category:{{{output_type8}}}]] }} {{ #if: |, [[:Category:{{{output_type9}}}|{{{output_type9}}}]][[Category:{{{output_type9}}}]] }}

  • Description: Square-gridded data from the input GRIB file.

Attributes: {{ #if: Image Index |*Image Index Specifies the layer of data that will be read from the GRIB file. The index is 0-based, so you would enter a value of 0 to access the first layer in the file, 1 for the second layer, and so on. Valid values for this attribute will depend on the number of layers present in the input file. | This process has no attributes. }} {{ #if: |*{{{attribute_name2}}} {{{attribute_desc2}}} }} {{ #if: |*{{{attribute_name3}}} {{{attribute_desc3}}} }} {{ #if: |*{{{attribute_name4}}} {{{attribute_desc4}}} }} {{ #if: |*{{{attribute_name5}}} {{{attribute_desc5}}} }} {{ #if: |*{{{attribute_name6}}} {{{attribute_desc6}}} }} {{ #if: |*{{{attribute_name7}}} {{{attribute_desc7}}} }} {{ #if: |*{{{attribute_name8}}} {{{attribute_desc8}}} }} {{ #if: |*{{{attribute_name9}}} {{{attribute_desc9}}} }}


This is a data input process for gathering square-gridded data from GRIB data files and making it available in a format that can be used by the sampler processes. GRIB files typically contain many layers of data for the same area. They will often contain many temperature layers for the region taken at different times. Similarly, they may contain wind data at various elevations and at various times creating many wind layers. Often wind data for a given elevation and time is even stored in two layers: one layer for the direction, and one layer for the strength. For more details, the GRIB format is described by Wikipedia.

If you have such a file and want to read it in WorldView, you can drag it into the Library. WorldView will automatically create a pipeline for you (one pipeline per layer in the file), including (and in the following order):

  • a Data File process to specify the name and location of the source file
  • a GRIB File Reader process to read a given layer (indicated by the Image Index attribute) from the specified file
  • a Colourizer process to translate the cell values to RGB (Red/Green/Blue) values

You can also create your own pipeline manually if you want, or you can take the pipeline that WorldView creates and modify it as necessary.