awips2/deltaScripts/unified_grid
Ben Steffensmeier 29d0d612bd Issue #189 fix the grid deltaScripts to work with static data and fix rollback
Former-commit-id: 05e3b37896 [formerly b5f84376f0] [formerly c682788130 [formerly 79dca17198b19df77c7eb1074e492a16516efc22]]
Former-commit-id: c682788130
Former-commit-id: b5431d9ccf
2012-10-31 15:35:51 -05:00
..
convert_grib_data.py Issue #189 fix the grid deltaScripts to work with static data and fix rollback 2012-10-31 15:35:51 -05:00
copy_grib_purge_rules.sh Issue #189 convert grib decoder to produce both grib and grid records. 2012-09-20 12:24:35 -05:00
create_grid_tables.sh Issue #189 convert grib decoder to produce both grib and grid records. 2012-09-20 12:24:35 -05:00
README.txt Issue #189 add a Readme to the upgrade scripts. 2012-10-30 12:08:14 -05:00
register_grid_coverage.sh Issue #189 grid rollback scripts 2012-10-11 18:22:12 -05:00
update_D2D_bundles.sh Issue #189 fix unified grid problems found during install/upgrade on testbed 2012-10-18 13:27:37 -05:00
update_D2D_procedures.sh Issue #189 fix unified grid problems found during install/upgrade on testbed 2012-10-18 13:27:37 -05:00
update_FFMP_Source.sh Issue #189 switch FFMP source config to grid. 2012-10-01 16:10:32 -05:00
update_saved_display.sh Issue #189 convert viz/d2d displays from grib to grid. 2012-09-24 14:05:22 -05:00

This directory contains all the scripts needed to upgrade from grib to the new
"Unified" grid storage format.

The following commands will need to run to upgrade postgres and hdf5 files:
bash register_grid_coverage.sh
bash create_grid_tables.sh
python convert_grib_data.py

The following commands will need to run to upgrade localization files:
bash copy_grib_purge_rules.sh
bash update_D2D_bundles.sh
bash update_D2D_procedures.sh
bash update_FFMP_Source.sh

convert_grib_data.py can take a significant amount of time, as much as 2 hours.
If you don't need your data and you want to upgrade faster you can purge all grib data.
If there is no grib data to convert there is no need to run convert_grib_data.py.

The update_saved_display.sh script can be used if there are any saved displays that are
saved outside of localization.

If for some reason the upgrade fails or you want to roll back. Install an old 
version of edex and run the scripts in the unified_grid_rollback directory.
The postgres and hdf5 scripts in that directory will need to be run in the opposite order:
python convert_grib_data.py
bash create_grid_tables.sh
bash register_grid_coverage.sh