Revision 86eb951b
Added by Jim Regetz over 12 years ago
- ID 86eb951befafb6eb1c077969e2599607e8b8b877
shared/extra/organisms-content-migration.sh | ||
---|---|---|
11 | 11 |
|
12 | 12 |
export ORGANISMS="/home/organisms" |
13 | 13 |
export LAYERS="/home/layers" |
14 |
export REPO="." |
|
14 | 15 |
|
15 | 16 |
#======================================================================= |
16 | 17 |
# set up some directories |
... | ... | |
944 | 945 |
# topo |
945 | 946 |
# |
946 | 947 |
|
947 |
# for now just migrate to experimental area |
|
948 |
mv $ORGANISMS/topo $LAYERS/experimental/ |
|
948 |
# first migrate the whole thing to new commons area |
|
949 |
mv $ORGANISMS/topo $LAYERS/commons/ |
|
950 |
# consolidate first set of dirs |
|
951 |
mkdir $LAYERS/commons/topo/v1 |
|
952 |
mv -i $LAYERS/commons/topo/{experimental,scripts,tiles} \ |
|
953 |
$LAYERS/commons/topo/v1/ |
|
954 |
# consolidate second set of dirs |
|
955 |
mv -i $LAYERS/commons/topo/experimental_2/topo \ |
|
956 |
$LAYERS/commons/topo/v2 |
|
957 |
rmdir $LAYERS/commons/topo/experimental_2 |
|
958 |
|
|
959 |
# remove ArcToolbox temporary files |
|
960 |
rm $LAYERS/commons/topo/v2/topo/xx00003024.s |
|
961 |
rm $LAYERS/commons/topo/v2/experimental/xx00013916.x |
|
962 |
rm $LAYERS/commons/topo/v2/experimental/xx00003916.s |
|
963 |
rm $LAYERS/commons/topo/v2/experimental/xx00013916.s |
|
964 |
|
|
965 |
# consolidate first set of scripts into git repo |
|
966 |
mv -i $LAYERS/commons/topo/v1/experimental/layers.aml \ |
|
967 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
968 |
mv -i $LAYERS/commons/topo/v1/experimental/aggregate.aml \ |
|
969 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
970 |
mv -i $LAYERS/commons/topo/v1/experimental/multiscalesmooth9a_clean.aml \ |
|
971 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
972 |
mv -i $LAYERS/commons/topo/v1/experimental/tilemerge_oregon1.aml \ |
|
973 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
974 |
mv -i $LAYERS/commons/topo/v1/scripts/unpacktiles.aml \ |
|
975 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
976 |
mv -i $LAYERS/commons/topo/v1/scripts/unziptiles.py \ |
|
977 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
978 |
mv -i $LAYERS/commons/topo/v1/scripts/mrvbf/mrvbf6g-a3.aml \ |
|
979 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
980 |
mv -i $LAYERS/commons/topo/v1/scripts/mrvbf/pctl.aml \ |
|
981 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
982 |
mv -i $LAYERS/commons/topo/v1/scripts/mrvbf/chunkproc.aml \ |
|
983 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
984 |
mv -i $LAYERS/commons/topo/v1/scripts/mrvbf/pctl-limits.aml \ |
|
985 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
986 |
mv -i $LAYERS/commons/topo/v1/scripts/mrvbf/gauss3 \ |
|
987 |
$REPO/terrain/research/oregon/arcgis/v1/ |
|
988 |
# for now keep this mysterioud Windows binary around... |
|
989 |
mv -i $LAYERS/commons/topo/v1/scripts/mrvbf/pctl.exe \ |
|
990 |
$LAYERS/commons/topo/v1/ |
|
991 |
# remove now-empty scripts directory |
|
992 |
rmdir $LAYERS/commons/topo/v1/scripts/mrvbf |
|
993 |
rmdir $LAYERS/commons/topo/v1/scripts |
|
994 |
|
|
995 |
# consolidate second set of scripts into git repo |
|
996 |
mv -i $LAYERS/commons/topo/v2/experimental/layers.aml \ |
|
997 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
998 |
mv -i $LAYERS/commons/topo/v2/experimental/aggregate.aml \ |
|
999 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1000 |
mv -i $LAYERS/commons/topo/v2/experimental/multiscalesmooth9a_clean.aml \ |
|
1001 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1002 |
mv -i $LAYERS/commons/topo/v2/experimental/tilemerge_oregon1.aml \ |
|
1003 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1004 |
mv -i $LAYERS/commons/topo/v2/scripts/unpacktiles.aml \ |
|
1005 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1006 |
mv -i $LAYERS/commons/topo/v2/scripts/unziptiles.py \ |
|
1007 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1008 |
mv -i $LAYERS/commons/topo/v2/topo/mrvbf6g-a3.aml \ |
|
1009 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1010 |
mv -i $LAYERS/commons/topo/v2/topo/pctl.aml \ |
|
1011 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1012 |
mv -i $LAYERS/commons/topo/v2/topo/chunkproc.aml \ |
|
1013 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1014 |
mv -i $LAYERS/commons/topo/v2/topo/pctl-limits.aml \ |
|
1015 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1016 |
mv -i $LAYERS/commons/topo/v2/topo/gauss3 \ |
|
1017 |
$REPO/terrain/research/oregon/arcgis/v2/ |
|
1018 |
|
|
949 | 1019 |
|
950 | 1020 |
# |
951 | 1021 |
# temp_benoit |
... | ... | |
969 | 1039 |
# now migrate code into git repository clone |
970 | 1040 |
#======================================================================= |
971 | 1041 |
|
972 |
export REPO="." |
|
973 |
|
|
974 | 1042 |
# nunokawa terrain scripts |
975 | 1043 |
mkdir terrain/research/gtopo30 |
976 | 1044 |
mv -i code/terrain/nunokawa-scripts/toProduceData/clipUSGS.r \ |
Also available in: Unified diff
added old Oregon topo AML scripts (Tien Ming Lee, John Gallant)