Skip to content

Commit a7e4f15

Browse files
author
root
committed
update, add to installer
1 parent f9ce808 commit a7e4f15

File tree

3 files changed

+39
-8
lines changed

3 files changed

+39
-8
lines changed

INSTALL

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,34 @@
1212

1313
INSTALL:
1414

15-
This installer for the esgf publisher is intended to run on an existing esgf data node. The meta_synchro.py script has the additional dependency of the pysolr library.
15+
This installer for the esgf publisher is intended to run on an existing esgf data node.
1616

17-
1) source /etc/esg.env - needed to run commands using the correct version of python for esgf.
17+
Additional prerequisites:
1818

19-
2) as root:
19+
* The meta_synchro.py script has the additional dependency of the pysolr library.
20+
* The handler module for CMIP6 requires CMOR, its dependencies, and CF checker.
21+
22+
1) as root:
23+
24+
source /etc/esg.env - needed to run commands using the correct version of python for esgf.
25+
26+
2) (CMOR)
27+
(a) Download uuid hosted here: http://aims1.llnl.gov/nm-cfg/uuid-1.6.2.tar.gz
28+
29+
./configure --prefix=/usr/local/uvcdat/2.2.0/Externals
30+
make
31+
make install
32+
33+
(b) git clone https://github.com/PCMDI/cmor.git
34+
git checkout cmor-3.1.2
35+
./configure --prefix=/usr/local/cmor --with-uuid=/usr/local/uvcdat/2.2.0/Externals --with-netcdf=/usr/local/uvcdat/2.2.0/Externals --with-udunits2=/usr/local/uvcdat/2.2.0/Externals
36+
37+
3)
2038
cd src/python/esgcet
2139
./setup.py install
2240

23-
3) [optional]: easy_install pysolr
41+
4) [optional]: easy_install pysolr
42+
43+
5) (CMOR) when running the publisher:
44+
45+
export UDUNITS2_XML_PATH=/usr/local/uvcdat/2.2.0/Externals/share/udunits/udunits2.xml

README

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@ Detailed instructions on publishing are on the ESGF confluence site. This is ac
1717

1818
https://acme-climate.atlassian.net/wiki/display/ESGF/Guide+to+ESGF+Publishing+and+Best+Practices
1919

20-
03 August 2016 - version 3.0,1
20+
29 August 2016 - version 3.1.0
21+
22+
* Changes to support CMIP6
23+
- Configuration option to extract global attributes
24+
- Check for CMOR version in datafiles
25+
- CF checker integration
26+
- CMIP6-CV check integration (requires CMOR install)
27+
* Included documentation (requires sphinx, sphinx_rtd_theme)
28+
29+
03 August 2016 - version 3.0.1
2130

2231
* Setup.py inclusion of esgprep utility - see http://esgf-prepare.readthedocs.io/ for more information
2332
* Use of project-specific esg.ini files read from the default location

src/python/esgcet/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def check_version(ex, vers, minvers):
6363
author = 'PCMDI Software Team',
6464
author_email = '[email protected]',
6565
url = 'http://esg-pcmdi.llnl.gov',
66-
install_requires = ["psycopg2>=2.0", "SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99", "lxml>=2.0", "sqlalchemy_migrate>=0.6", "requests>=1.2.0", "esgprep>=2.4.6"],
67-
setup_requires = ["psycopg2>=2.0", "SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99", "lxml>=2.0", "sqlalchemy_migrate>=0.6", "requests>=1.2.0", "esgprep>=2.4.6"],
66+
install_requires = ["psycopg2>=2.0", "SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99", "lxml>=2.0", "sqlalchemy_migrate>=0.6", "requests>=1.2.0", "esgprep>=2.4.6", "cfchecker>=2.0.9"],
67+
setup_requires = ["psycopg2>=2.0", "SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99", "lxml>=2.0", "sqlalchemy_migrate>=0.6", "requests>=1.2.0", "esgprep>=2.4.6", "cfchecker>=2.0.9"],
6868
packages = find_packages(exclude=['ez_setup']),
6969
include_package_data = True,
7070
# test_suite = 'nose.collector',
@@ -110,5 +110,5 @@ def check_version(ex, vers, minvers):
110110
""",
111111
)
112112

113-
os.system("cp scripts/add_checksums_to_map.sh /usr/local/bin")
113+
114114

0 commit comments

Comments
 (0)