Changeset 256


Ignore:
Timestamp:
25/11/14 00:15:21 (5 years ago)
Author:
mjuckes
Message:

userinst.sh extended to make bin directory if needed

Location:
CCCC/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/README_dev.txt

    r102 r256  
    33Documentation 
    44------------- 
    5 #01.001: Need to create a clearer description of what each class is intended to do. 
     5#01.001: Need to create a clearer description of what each class is intended to do.   
    66 
    77Unit testing 
    88------------ 
    9 #02.001: Create some unit tests (dependent on #001). 
    10 #02.002: Create a __dummy project, to support testing of logging system etc. 
     9&02.001: Create some unit tests (dependent on #001).  Done 
     10&02.002: Create a __dummy project, to support testing of logging system etc. DOne 
    1111   --- added to mip vocabs and config -- need to pt something in the NetCDF file reader. 
    12 #02.003: Make sure S2 unit tests can capture and report exceptions that get passed to log files 
     12&02.003: Make sure S2 unit tests can capture and report exceptions that get passed to log files Done 
    1313 
    1414Configuration 
    1515------------- 
    16 #03.001: Put project dependent information into a specific class instance -- projectConfig. Done (Dec 5th) 
    17 #03.002: Merge back version configured for SPECS -- [Martin, 18th Oct] 
    18 #03.003: Create basic configuration for CMIP5 and run to exercise code and identify problems. 
     16&03.001: Put project dependent information into a specific class instance -- projectConfig. Done (Dec 5th) 
     17&03.002: Merge back version configured for SPECS -- [Martin, 18th Oct]  
     18&03.003: Create basic configuration for CMIP5 and run to exercise code and identify problems. 
    1919#03.004: Clean up special case for CORDEX in domain checks (allowing 2nd formulation for Antarctica, as it is cyclic) 
    20 #03.005: Extend checkByVar to SPECS and CCMI data 
    21 #03.006: Add CCMI configuration 
    22 #03.007: Complete SPECS configuration (additional global attributes) 
     20#03.005: Extend checkByVar to SPECS and CCMI data **URGENT** -- to look for overlaps 
     21&03.006: Add CCMI configuration 
     22&03.007: Complete SPECS configuration (additional global attributes) Done 
    2323 
    2424Organisation of files 
     
    2727#04.002: Move class definitions out of the c4.py script. 
    2828 
     29Compatibility with archive 
     30---------- 
     31## see also 03.005 
     32#05.001: Vocabulary terms for compatibility errors. 
     33#05.002: Add "--target" option, and method to scan latest file names. 
     34#05.003: Add option to check for overlaps in time range in archive 
     35#05.004: Add retraction configuration script and associated check against target 
     36#05.005: Unit tests for all compatibility checks. 
     37 
     38#06.001: Version control tag in project: project variable --> namedTuple 
    2939 
    3040 
    3141 
     42Issues: 
     43ECMWF found a HDF warning which raised an exception. Suppressed by setting the environment variable HDF5_DISABLE_VERSION_CHECK=1. Reason for this unclear -- probably local library issues. 
  • CCCC/trunk/ceda_cc/extractMipInfo.py

    r253 r256  
    549549mips = ( cordex_mip, ) 
    550550mips = ( specs_mip, ) 
     551mips = ( NT_mip( 'ccmi', 'ccmi_vocabs/mip/', 'CCMI1_*'),  ) 
    551552mips = ( NT_mip( 'cmip5','cmip5_vocabs/mip/', 'CMIP5_*' ), ) 
    552 mips = ( NT_mip( 'ccmi', 'ccmi_vocabs/mip/', 'CCMI1_*'),  ) 
    553553m = mipCo( mips )   
    554554h = helper() 
  • CCCC/trunk/userinst.sh

    r180 r256  
    22 
    33 
    4 target=$HOME/bin/ceda_cc 
     4targetDir=$HOME/bin 
     5target=$targetDir/ceda_cc 
     6 
     7#### 1. Make target directory is not present 
     8############################################### 
     9 
     10if [ ! -d "$targetDir" ]; then 
     11  # Control will enter here if $targetDir doesn't exist. 
     12  echo creating directory $targetDir 
     13  mkdir $targetDir 
     14fi 
     15 
     16#### 2. Create a script 
     17############################################### 
    518 
    619echo Creating bash script in $target 
     
    2134EOF 
    2235 
     36#### 2. Make the script executable 
     37############################################### 
    2338chmod u+x $target  
Note: See TracChangeset for help on using the changeset viewer.