-
Notifications
You must be signed in to change notification settings - Fork 20
ESGF Publication Test
Nicolas Carenton edited this page Aug 5, 2014
·
31 revisions
Prerequisites
Define a test project in /esg/config/esgcet/esg.ini
thredds_dataset_roots =
esg_dataroot | /esg/data
test | /esg/data/test
Download test dataset
mkdir /esg/data/test; cd /esg/data/test
wget -O sftlf.nc http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist/externals/sftlf.nc
Execution user
Must be different from root. Must have recrursive write permission to /esg/content/thredds/esgcet
groupadd publication
useradd -G publication esg-user
chown -R tomcat.publication /esg/content/thredds/esgcet/
chmod -R g+rw /esg/content/thredds/esgcet/
Mapfile generation
su esg-user
source /etc/esg.env
esgscan_directory --dataset ipsl.fr.test.mytest --project test /esg/data/test > test_mapfile.txt
Publication step 1 - Local
esgpublish --service fileservice --map test_mapfile.txt --project test --thredds
Then check http://my-data-node/thredds/esgcet/catalog.html
Publication step 2 - Index