Changeset 480


Ignore:
Timestamp:
14/11/15 17:20:44 (5 years ago)
Author:
mjuckes
Message:

Adding doc

Location:
CMIP6dreq
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreq/manage/README.txt

    r422 r480  
    11 
    22 
    3 USAGE 
    4 ----- 
     3The dreqPy package includes an XML document specifying the CMIP6 data request and a python API. 
    54 
    6 python step1.py <version> "<comment on version>"  ## updates versionConfig.py and creates "step2.sh" 
    7 bash step2.sh    ## checks trunk into repository, creates tagged version 
     5The XML document is described in dreqML.pdf in the docs directory. 
    86 
    9  
    10 To upload to pypi test server: 
    11 python setup.py register -r pypitest 
    12  
    13 python setup.py sdist upload -r pypitest 
    14  
    15 Same without test for full version. 
    16  
    17 01.beta.07 is on pypi 
    18  
    19  
    20 Note that there is now duplication in the version specification in __init__.py, which is the clean approach, and versionConfig.py which was my hack. 
    21  
    22  
     7The python API is described in dreqPy.pdf, also in the docs directory. 
  • CMIP6dreq/manage/step1.py

    r449 r480  
    2020##print os.getcwd() 
    2121##time.sleep(1) 
    22 ##import packageConfig 
    23 import __init__ 
    24 version = __init__.__version__ 
     22import packageConfig 
     23##import __init__ 
     24version = packageConfig.__version__ 
    2525##os.chdir( d1 ) 
    2626 
  • CMIP6dreq/trunk/README.txt

    r426 r480  
    11 
    22 
    3 python ptxt.py: to generate schema and sample from vocabDefn.txt 
    4  [Need to edit file to switch modes] 
    5 Produces vocabDefn.xml  vocabSample.xml 
     3The dreqPy package includes an XML document specifying the CMIP6 data request and a python API. 
    64 
    7 test vocabDefn.xml 
     5The XML document is described in dreqML.pdf in the docs directory. 
    86 
    9 xmllint --schema ../../docs/vocabFrameworkSchema.xsd out/vocabDefn.xml 
    10  
    11 use xsltproc to generate schema from vocabDefn.xml 
    12  
    13 xsltproc ../../docs/xlst_xdsSchemaGen.xml out/vocabDefn.xml > out/vocab.xsd 
    14  
    15 check vocabSample.xml 
    16  
    17 xmllint --schema out/vocab.xsd out/vocabSample.xml 
     7The python API is described in dreqPy.pdf, also in the docs directory. 
Note: See TracChangeset for help on using the changeset viewer.