wis2box 1.0b7 released #678
tomkralidis
announced in
Announcements
Replies: 1 comment
-
page https://github.com/wmo-im/wis2box/releases/tag/1.0b7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the seventh 1.0 beta release of wis2box. This release includes a number of new features, enhancements and bugfixes. This release introduces a "dataset" driven approach to closer align to core WIS2 concepts. A "dataset" in wis2box is a single record containing both the metadata and the data mappings definition. The separate data-mappings.yml will not longer be used.
This release also introduces the "dataset" editor that supports the creation of WCMP2 discovery metadata and data mappings definitions without requiring the user to edit configuration files directly.
The release also includes the a new "universal" data plugin to support the publishing of data that is produced upstream of wi2box.
Users are strongly encouraged to update to this latest release for WIS2 compliance.
Enhancements/updates
data-mappings.yml
Bug fixes
New installation
Please follow the instructions provided at https://docs.wis2box.wis.wmo.int/en/latest/user/getting-started.html
re-using station_list.csv from previous installation
Note that if you want to re-use your station_list.csv from a previous installation you will have to update the content of the columns
facility_type,territory_name,wmo_region to use the WIGOS-metadata codes:
1.0b6:
1.0b7:
After updating these columns you can copy the file to /metadata/station/station_list.csv and then login to the wis2box-container and run
wis2box metadata station publish-collection
.To associate all stations to a specific dataset you can use the command 'wis2box metadata station auth-topic', for example:
wis2box metadata station add-topic --territory-name ITA it-roma_met_centre/data/core/weather/surface-based-observations/synop
Migrating existing installations
Migrating existing installations will require you to recreate your discovery metadata records.
Start by downloading the new release and extracting the archive:
Then, back in your old wis2box-installation , login to the wis2box-management container and unpublish your current discovery metadata:
Repeat the wis2box metadata discovery unpublish command until there are no items remaining in
https://YOUR_HOST/oapi/collections/discovery-metadata/items
Then stop wis2box in the original installation:
Delete the api-config volume:
Copy your old wis2box.env from the old to the new installation:
Optionally, add new entries to
wis2box.env
for environment variables forWIS2BOX_WEBAPP_USERNAME
andWIS2BOX_WEBAPP_PASSWORD
. If these are not defined, the default credentials are:Then start the wis2box from the new release-folder:
And run the migration script to update your stations to match the new definitions as follows:
Finally use the dataset editor in wis2box-webapp to recreate your datasets, see https://docs.wis2box.wis.wmo.int/en/1.0b7/user/setup.html#adding-datasets.
Note that you can also recreate your metadata by adding data mappings within your wis2box metadata configurations and use the
wis2box dataset publish <file-name>
command to publishDocumentation
Documentation for this release is available at https://docs.wis2box.wis.wmo.int/en/1.0b7
Feedback
All contributions are always welcome. Feedback is welcome via GitHub issues or discussions.
The wis2box team
https://docs.wis2box.wis.wmo.int
Beta Was this translation helpful? Give feedback.
All reactions