Issue #189 add a Readme to the upgrade scripts.

Former-commit-id: 29b9bc18abe3754efe2c9011b381d8924ebb3638
This commit is contained in:
Ben Steffensmeier 2012-10-30 12:04:40 -05:00
parent 13cfc7c341
commit e435502c5f

View file

@ -0,0 +1,27 @@
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