JVital2013 / vitality-goes

Web App for showcasing Geostationary Weather Satellite Data
GNU General Public License v3.0
69 stars 6 forks source link

Version 1.4 #40

Closed JVital2013 closed 1 year ago

JVital2013 commented 1 year ago

Sample Configs have been added for the following satellites:

Changes in this release:

Breaking Changes

There have been major changes to the configuration in this version

See the config docs for details on configuration. Scriptconfig.ini has not been affected by this change - although you can remove the GOES-17 references within it.

Migrating an old configuration to 1.4+

Assuming you want to keep loading your original abi.ini, meso.ini, l2.ini, and emwin.ini files, here's how to migrate:

  1. In config.ini, add a categories section after the [general] section:
    [categories]
    abi = abi.ini
    meso = meso.ini
    l2 = l2.ini
    emwin = emwin.ini
  2. Edit abi.ini and add the following at the very top:
    [_category_]
    title = "Full Disk"
    icon = globe-americas
  3. Edit l2.ini and add the following at the very top:
    [_category_]
    title = "Non-CMIP Imagery"
    icon = atom
  4. Edit meso.ini and add the following at the very top:
    [_category_]
    title = "Mesoscale Imagery"
    icon = search-plus
  5. Edit emwin.ini:
    • Add the following at the very top:
      [_category_]
      title = "EMWIN Graphics"
      icon = image
    • For every EMWIN image defined, rename the path setting to filter and remove the file extension
    • Add the following lines into every image defined in emwin.ini, replacing GOES16 with GOES18 if necessary:
      mode = emwin
      path = {GOES16}/emwin

The only difference between the old and new abi.ini, l2.ini, and meso.ini files is the addition of the [_category_] header, but the emwin.ini conversion is trickier because it now acts like other secondary ini files.

Here is an comparison between and old and new emin.ini image section:

image

Note: the sample configs for GOES-16 and GOES-18 now have a new nws.ini file. If you're migrating, you might want to grab one of the nws samples and incorporate it into your setup!