Project

General

Profile

« Previous | Next » 

Revision f3cc83bd

Added by Jim Regetz over 12 years ago

  • ID f3cc83bdbc035e05524a8d66674ffcaa3b1b0998

renamed layers 'experimental' area to 'commons'

View differences:

shared/extra/organisms-content-migration.sh
32 32
mkdir $LAYERS/code/terrain
33 33
mkdir $LAYERS/code/land-cover
34 34
# create (temporary?) home for everything else
35
mkdir $LAYERS/experimental
36
mkdir $LAYERS/experimental/terrain
37
mkdir $LAYERS/experimental/land-cover
38
mkdir $LAYERS/experimental/cruft
35
mkdir $LAYERS/commons
36
mkdir $LAYERS/commons/terrain
37
mkdir $LAYERS/commons/land-cover
38
mkdir $LAYERS/commons/cruft
39 39

  
40 40
#=======================================================================
41 41
# carry out file migration, reorganization, and cleanup
......
135 135
mv -i $ORGANISMS/DEM/asterGdem/R_files \
136 136
      $LAYERS/code/terrain/asterGdem
137 137
# migrate Robinson GDEM1 assessment docs (incl QGIS project files)
138
mkdir $LAYERS/experimental/terrain/gdem-v1
138
mkdir $LAYERS/commons/terrain/gdem-v1
139 139
mv -i $ORGANISMS/DEM/asterGdem/*.ods \
140
      $LAYERS/experimental/terrain/gdem-v1/
140
      $LAYERS/commons/terrain/gdem-v1/
141 141
find $ORGANISMS/DEM/asterGdem -name "*.qgs" -exec mv {} \
142
      $LAYERS/experimental/terrain/gdem-v1/ \;
142
      $LAYERS/commons/terrain/gdem-v1/ \;
143 143
# migrate remaining tree as the GDEM v1 dataset itself
144 144
mv $ORGANISMS/DEM/asterGdem \
145 145
   $LAYERS/data/terrain/dem-aster-gdem1-30m-orig
......
189 189
mv -i $ORGANISMS/DEM/CanadaDED/CanadaDEDTechRefManual.pdf \
190 190
      $LAYERS/documentation/terrain/cded-TechRefManual.pdf
191 191
# migrate some stuff to experimental, for now...
192
mkdir $LAYERS/experimental/terrain/dem-cded
192
mkdir $LAYERS/commons/terrain/dem-cded
193 193
# ... vrt files, what the heck
194 194
mv -i $ORGANISMS/DEM/CanadaDED/*demFile.vrt \
195
      $LAYERS/experimental/terrain/dem-cded/
195
      $LAYERS/commons/terrain/dem-cded/
196 196
# ... misc scripts and log files
197 197
mv -i $ORGANISMS/DEM/CanadaDED/in*DemFile.txt \
198
      $LAYERS/experimental/terrain/dem-cded/
198
      $LAYERS/commons/terrain/dem-cded/
199 199
mv -i $ORGANISMS/DEM/CanadaDED/unzipFiles.sh \
200
      $LAYERS/experimental/terrain/dem-cded/unzipFiles_0.sh
200
      $LAYERS/commons/terrain/dem-cded/unzipFiles_0.sh
201 201
mv -i $ORGANISMS/DEM/CanadaDED/Monday/unzipFiles.sh \
202
      $LAYERS/experimental/terrain/dem-cded/unzipFiles_1.sh
202
      $LAYERS/commons/terrain/dem-cded/unzipFiles_1.sh
203 203
mv -i $ORGANISMS/DEM/CanadaDED/{.,/Monday}/*.sh \
204
      $LAYERS/experimental/terrain/dem-cded/
204
      $LAYERS/commons/terrain/dem-cded/
205 205
mv -i $ORGANISMS/DEM/CanadaDED/*.log \
206
      $LAYERS/experimental/terrain/dem-cded/
206
      $LAYERS/commons/terrain/dem-cded/
207 207
mv -i $ORGANISMS/DEM/CanadaDED/moscomps \
208
      $LAYERS/experimental/terrain/dem-cded/
208
      $LAYERS/commons/terrain/dem-cded/
209 209
mv -i $ORGANISMS/DEM/CanadaDED/Monday/filesToMosaic \
210
      $LAYERS/experimental/terrain/dem-cded/
210
      $LAYERS/commons/terrain/dem-cded/
211 211
mv -i $ORGANISMS/DEM/CanadaDED/Monday/*Log \
212
      $LAYERS/experimental/terrain/dem-cded/
212
      $LAYERS/commons/terrain/dem-cded/
213 213
# remove extracted data (no plans to use it), after determining that these are
214 214
# the set of files matching globs "*.dem" or "*_fgdc_*.{xml,html}"
215 215
# # ---- bash code ---#
......
407 407
      $LAYERS/documentation/terrain/nunokawa-documents/
408 408
# migrate remaining Data contents to 60N boundary dir
409 409
mv -i $ORGANISMS/DEM/Yuni/Data \
410
      $LAYERS/experimental/terrain/north-60
410
      $LAYERS/commons/terrain/north-60
411 411

  
412 412
# remove now-empty directories
413 413
rmdir $ORGANISMS/DEM/Yuni
......
422 422

  
423 423

  
424 424
rm $ORGANISMS/DEM/checklog
425
mv $ORGANISMS/DEM/checkBadAsterGDEMFiles.sh $LAYERS/experimental/cruft/
426
mv $ORGANISMS/DEM/CheckGDEMLog.txt $LAYERS/experimental/cruft/
425
mv $ORGANISMS/DEM/checkBadAsterGDEMFiles.sh $LAYERS/commons/cruft/
426
mv $ORGANISMS/DEM/CheckGDEMLog.txt $LAYERS/commons/cruft/
427 427

  
428 428

  
429 429
#=========#
......
654 654

  
655 655
# move last few things...
656 656
mv -i $ORGANISMS/MODIS_LST_Oregon/hdf.txt \
657
      $LAYERS/experimental/cruft/clim-MOD11A1.004-OR-orig-hdf.txt
657
      $LAYERS/commons/cruft/clim-MOD11A1.004-OR-orig-hdf.txt
658 658
mv -i $ORGANISMS/MODIS_LST_Oregon/SDS_PctFills.txt \
659
      $LAYERS/experimental/cruft/clim-MOD11A1.004-OR-orig-SDS_PctFills.txt
659
      $LAYERS/commons/cruft/clim-MOD11A1.004-OR-orig-SDS_PctFills.txt
660 660

  
661 661
# remove all the now-empty directories...
662 662
# tree $ORGANISMS/MODIS_LST_Oregon
......
727 727
#
728 728

  
729 729
# for now, just move the whole thing as-is
730
mv $ORGANISMS/GLCNMO $LAYERS/experimental/land-cover/
730
mv $ORGANISMS/GLCNMO $LAYERS/commons/land-cover/
731 731

  
732 732
#
733 733
# GlobCover
......
832 832
mv $ORGANISMS/README.txt $LAYERS/documentation/organisms-homedir-readme.txt
833 833
mv $ORGANISMS/CHANGES.txt $LAYERS/documentation/organisms-homedir-changes.txt
834 834
# move old file extension summary
835
mv -i $ORGANISMS/file-extension-summary.txt $LAYERS/experimental/cruft/
835
mv -i $ORGANISMS/file-extension-summary.txt $LAYERS/commons/cruft/
836 836

  
837 837
#
838 838
# Desktop
839 839
#
840 840

  
841 841
# move MRT installer to cruft
842
mv $ORGANISMS/Desktop/MRT_download_Linux $LAYERS/experimental/cruft/
842
mv $ORGANISMS/Desktop/MRT_download_Linux $LAYERS/commons/cruft/
843 843
# remove orphaned bil metadata file
844 844
rm $ORGANISMS/Desktop/ASTER_Test.bil.aux.xml
845 845
# remove empty Desktop dir
......
850 850
#
851 851

  
852 852
# move pyhdf package to cruft
853
mv $ORGANISMS/pyhdf $LAYERS/experimental/cruft/
853
mv $ORGANISMS/pyhdf $LAYERS/commons/cruft/
854 854

  
855 855
#
856 856
# GIS/GDD
......
921 921
# remove empty test directory
922 922
rmdir $ORGANISMS/GIS/terrain/test
923 923
# for now just migrate everything else to experimental area
924
mv $ORGANISMS/GIS/terrain $LAYERS/experimental/terrain/arcgis
924
mv $ORGANISMS/GIS/terrain $LAYERS/commons/terrain/arcgis
925 925

  
926 926
# remove empty directory
927 927
rmdir $ORGANISMS/GIS
......
931 931
#
932 932

  
933 933
# for now just migrate to experimental area
934
mv $ORGANISMS/Oregon $LAYERS/experimental/oregon
934
mv $ORGANISMS/Oregon $LAYERS/commons/oregon
935 935

  
936 936
#
937 937
# steph
......
952 952
#
953 953

  
954 954
# for now just migrate to experimental area
955
mv $ORGANISMS/temp_benoit $LAYERS/experimental/
955
mv $ORGANISMS/temp_benoit $LAYERS/commons/
956 956

  
957 957

  
958 958
#=======================================================================

Also available in: Unified diff