Skip to content

Commit 58bd609

Browse files
authored
Docstanya (#317)
* change u to uold in example * Some changes to Chapters 2, 4, 5 and 6 * Some changes to Regrid 2, Lib, esmf, gsRegrid and horizontal * Changes made to Chapters 1-7 and sample data * fix API documentation * rename regrid2 directory and delete print message * add module API files * add future and mock requirements * get cwd for readthedocs * Changes made to API * Changes made to API * Changes made to API * Changes to API * test rtd with mock * add future for readthedocs * create git.py in ../.. * add esmf * add print statements for regrid2 * add print for libregrid2 * restore regrid2.Lib for readthedocs * add mock modules * add git.py * try with new mock list * force git.py * force git.py * try readthedocs.yml file * fix readthedocs maping file * change type pdb to pdf * typo requirements.yml * add dependencies * add dependencies and change conf.yml * change API.rst and other rst files * Changes to API * UVCDAT_ANONYMOUS_LOG set to false * check if git.py is there * add gcc to environment.yml * try docker environment.yml * remove git.py * chage Libregrid to regrid2 * revert * revert * add cdms2 class * delet cdms2 class * delet cdms2 class * change conf.py os.path * Changes to API * Changes made to API * Changes to API * Changes made to API * Changes to API * Changes made to API * Changes made to API * Changes to API * Changes to API * Changes made to API * Changes made to API * Changes made to API * push latest rst files * Changes made to API * Made some changes to API * update documentations * Changes made to API * Changes made to API * Changes made to API * Changes made to Section 2 and API * Changes made to Section 2 * Changes made to Chapter 2 * Changes made to Section 2 * Changes made to Chapters 2, 3, 4,5 and 6 * Changes made to Sections 2, 4, 7 and Appendix * Changes made to Chapter 6 and Appendix * Changes made to Section 2 * update summary table for API * add generated files * Changes made to al sections * Changes made to Section 2 and API * Changes made to 2 and API * Made changes to sections 1 and 2 * Issue#231 (#232) * fix #225 passing transiant variable as axis * Fix macOSX * fix ESMF and NPY_STRING * fix data._mask comparison for numpy 1.14 * failing test from vcs added here (#234) * failing test from vcs added here * ok test passes again * reverted for now * commented out test for @durack1 * Cdmsdocsmerge (#223) * First cdms2 documentation revamp * latest changes * add new files and work on avariable documentations * fix index order * revamp documentation * Fixing cdms documentation (docstrings) * update documentation * continue to work on docs * sphinx doctest in manual.rst * chapter 1 continu * add requirments.txt for read-the-doc * move requirements.txt into docs dir * add requirements * Chapter 2 * add chapter 3 * finish chapter 3 started chapter 4 * flake8 python files * chapter 4 regridding * cdms_4 doctest * add other chapters * finish chapter 4 * add chapter 5 * add chapter 6 * cdms chapter 6 * fix TOC * add chapter 7 and appendix * merge docs * add requirements.txt * remove cdat_info * remote cdat_info * fix latex_logo png * pin pyopenssl to 17.2.0 due to myproxyclient failure in py3 * update TOC * work on tables and setup * try to force jquery 3.1 * just copy js script in _static * add highlight python * add sample dataset page * add sample dataset page * work on tables for cdms_2.rst * continue cdms2 documentations * update cdms2 tables * update sections * update table * finish chapter 2 * fix litteral error * unlink .dodsrc for cdscan * First changes from Tanya * some change in chapter 1 and 2 * some changes in Chapter 2 * fix tables * Some changes to Chapter 2 * Some Changes to Chapter 2 * Some changes made to Chapters 1, 2 and 4 * Some changes to Chapter 2 * Some Changes made to Chapter 2 * Some changes to Chapters 2, 3 and 4 * Some changes made to 1 through Appendix * Some Changes made to Chapter 2 * Some Changes to Chapters 1, 2, 3, 6 and Appendix * Some changes made to Chapters 1 thru 7 and appendix * Some changes to Chpaters 1, 2 and 3 * Changes made to Chapters 1, 4, 5 and Appendix * Some changes to Chapter 2 and 4 * Some Changes to Images, Chapter 3 and Appendix * update logo * add my logo * fix chapter 1 test * Fix python3 slice issue(setitem) and flake8 (#243) * fix python 3 aggregation issue and flake8 (#244) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * Netcdf46 (#249) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * Revert "Netcdf46 (#249)" (#250) This reverts commit a9e29ea. * Netcdf46 (#251) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * Netcdf46 (#252) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * instal anaconda-client before calling conda-upload * Changes made to API * Made some changes to API * Changes made to API * Changes made to API * Changes made to API * Changes made to Section 2 and API * Changes made to Section 2 * Changes made to Chapter 2 * Changes made to Section 2 * Changes made to Chapters 2, 3, 4,5 and 6 * Changes made to Sections 2, 4, 7 and Appendix * Changes made to Chapter 6 and Appendix * Changes made to Section 2 * Changes made to al sections * Changes made to Section 2 and API * Changes made to 2 and API * Made changes to sections 1 and 2 * Issue#231 (#232) * fix #225 passing transiant variable as axis * Fix macOSX * fix ESMF and NPY_STRING * fix data._mask comparison for numpy 1.14 * Fix python3 slice issue(setitem) and flake8 (#243) * fix python 3 aggregation issue and flake8 (#244) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * Netcdf46 (#249) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * Revert "Netcdf46 (#249)" (#250) This reverts commit a9e29ea. * Netcdf46 (#251) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * Netcdf46 (#252) * Fix python3 slice issue(setitem) and flake8 * update to libnetcdf 4.6 * try circleci unstable label * try version 2 circleci * try version 2 circleci * change workflow name * change cdtime to cdms * add certificate to circleci * add fix conda-upload in circleci 2.0 * update prep_for_build version * fix curl command * fix cicleci for cdms * use unstable channel change uvcdat for cdat * build cdms on circleci 2.0 * fix circleci config.yml * change Users/distiler to /Users/denisnadeau * add gcc_linux * add LDSHARED for linux * disable cert and py results * add gcc_linux-64 * change cdscan link * fix myproxy * add esmf and esmpy to py3 env * inverse dodsrc and curl commands * move unlink above cdscan test * fix ESGF test * add new dodsrc files * create dodsrc on-demand * put back tests for unstable * instal anaconda-client before calling conda-upload * Fix table titles * Change made to Section 4 * fix bindex issue in hgrid * Changes to all * Corrections made to API Lib * Changes to API * fix ascii art * Changes to Sections 2, 4 and 5 * Changes made to all * Changes made to Sections 2, 6 and Appendix * Changes made to Section 2 * Changes made to Section 2 * Changes made to Section 2 and 5 * Changes to Sections 2, 6 and 7 * Changes to API * Changes made to API * Made Changes to API * Changes made to API * Changes made to Section 4 and 7 * Changes made to API * Changes made to API * Revisit run tests (#262) * migrate run_tests.py to use TestRunnerBase * remove accidentally added tests/coverage.json * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * revisit run_tests.py * add cacert.pem in run_tests.py when running cdms test within the lab * add cacert.pem in run_tests.py when running cdms test within the lab * add cacert.pem in run_tests.py when running cdms test within the lab * add cacert.pem in run_tests.py when running cdms test within the lab - rerun tests * add cacert.pem in run_tests.py when running cdms test within the lab - remove install from -c cdat/label/unstable * put back -c cdat/label/unstable * fix Axis.py * update documentation * fix environment dependencies * add/remote generated files * try to fix API.rst * add regrid2 to docs * Changes made to API * fix space with parameters * fix readthedocs using numpydoc * update environment * fix some autodocs * add hgrid * Changes made to API * Changes made to API * fix avariable bad location methods * Changes to Appendix and API * Changes to Chapter 1 and 2 * Changes made to Section 2 * Changes made to Section 2 * Changes made to Section 2 * Changes to sections 1, 2, 3 and 4 * Changes to section 2 * Changes made to entire docuemnt * Changes to Section 1 and 2 * Changes made to Section 2 * Changes made to Sections 2 thru 6 * Changes made to Chapters 3 and 6 * add jupyter notebook * Changes to all * Changes to Jupyter Notebooks * Changes to all * update documentation for version 3.1.0 * merge documentations * change banner and sidebar colors * Changes to API * fix style sheet * Changes to API * Changes to API * Changes to API and Sections * Changes to all * will this fix master? (#292) * Changes to Sections 1 and 2 * fix cdtime and scripts * trigger read-the-docs * fix more cdtime doc issues * fix typo Default-Calendar * fix conflicts * pass flake8 * udpate chapter1 * Changes * add jupyter notebook * jupyter chapter1 fixed * cleanup chapter 1 jupyter * add tmp_T42_to_POP43_conserv file * chapter 2 and chapter 3 * Changes to Jupyter Notebooks 1 and 2 * clean up * update chapter4 * chapter 4 regridder opendap * chapter 2 using OpenDAP * chapter 2 using OpenDAP * update all chapters * add chapter4 * Changes to Jupiter Notebooks 1 and 2 * Changes to Jupyter Notebooks 1a and 2a * Changes to Jupyter Notebooks 1a, 2a, 3a, 4a * Changes to Jupyter Notebooks 1a, 2a, 3a,4a, 5a * Changes to Jupyter Notebooks 1a thru 4a * Changes to Section 1, 2 * Changes to Sections 1 and 2 * Changes to Sections 1-3 * Changes to Jupyter Notebooks * Changes to Chapters 2, 5 and 6 * Changes to Sections 1 and 2 * Changes to API * fix double Notes section * Changes to API * Changes made to API * Change to API * Changes to API * Changes to API * Changes to Sections * Changes to Sections * Changes to Section 1 * Changes to all * Changes to Sections 2 and 4 * flake8 files * Changes to sections * update readthedocs to py3 * update environment.yml to 3.1.2 * fix environment.yml for readthedocs * add easydev to readthedocs env yaml * change sys.prefix to 3.7 * try to add lazy-object and change env
1 parent 2f72edb commit 58bd609

File tree

5 files changed

+110
-115
lines changed

5 files changed

+110
-115
lines changed

docs/environment.yml

Lines changed: 92 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -3,107 +3,98 @@ channels:
33
- conda-forge
44
- defaults
55
dependencies:
6-
- alabaster=0.7.11=py_3
7-
- asn1crypto=0.24.0=py27_2
8-
- babel=2.6.0=py_1
9-
- bzip2=1.0.6=h470a237_2
10-
- ca-certificates=2018.8.13=ha4d7672_0
11-
- cdat_info=8.0=py27_0
12-
- cdms2=3.0.1=py27h6091dcd_1
13-
- cdtime=3.0=py27h6091dcd_1
14-
- certifi=2018.8.13=py27_0
15-
- cffi=1.11.5=py27h5e8e0c9_1
16-
- chardet=3.0.4=py27_3
17-
- clapack=3.2.1=0
18-
- colorama=0.3.9=py_1
19-
- colorlog=3.1.2=py27_0
20-
- cryptography=2.3.1=py27hdffb7b8_0
21-
- cryptography-vectors=2.3.1=py27_0
22-
- curl=7.61.0=h93b3f91_1
23-
- distarray=2.12.2=py27_0
24-
- docutils=0.14=py27_0
6+
- alabaster=0.7.12=py37_0
7+
- asn1crypto=0.24.0=py37_1003
8+
- attrs=19.1.0=py_0
9+
- babel=2.6.0=py37_0
10+
- blas=1.1=openblas
11+
- bzip2=1.0.6=h14c3975_1002
12+
- ca-certificates=2019.1.23=0
13+
- cdat_info=8.1.1=py_2
14+
- cdtime=3.1.2=py37h6091dcd_1
15+
- certifi=2019.3.9=py37_0
16+
- cffi=1.12.2=py37hf0e25f4_1
17+
- chardet=3.0.4=py37_1003
18+
- colorama=0.4.1=py_0
19+
- colorlog=4.0.2=py37_1000
20+
- cryptography=2.6.1=py37h72c5cf5_0
21+
- curl=7.64.1=hf8cf82a_0
22+
- decorator=4.4.0=py_0
23+
- distarray=2.12.2=py_1
24+
- docutils=0.14=py37_0
2525
- easydev=0.9.36=py_1
26-
- enum34=1.1.6=py27_1
27-
- esmf=7.1.0r=1
28-
- esmpy=7.1.0r=py27_1
29-
- future=0.16.0=py27_2
30-
- g2clib=1.6.0=3
31-
- hdf4=4.2.13=0
32-
- hdf5=1.10.1=2
33-
- idna=2.7=py27_2
34-
- imagesize=1.0.0=py_1
35-
- ipaddress=1.0.22=py_1
36-
- jasper=1.900.1=4
37-
- jinja2=2.10=py_1
38-
- jpeg=9c=h470a237_0
39-
- krb5=1.14.6=0
40-
- lapack=3.6.1=1
41-
- libcdms=3.0.1=h9ac9557_2
42-
- libcf=1.0.1=py27_2
43-
- libdrs=3.0.1=h6e3784b_3
44-
- libdrs_f=3.0.1=h2cd7f18_3
45-
- libffi=3.2.1=hfc679d8_4
46-
- libgcc=7.2.0=h69d50b8_2
47-
- libgfortran=3.0.0=1
48-
- libgfortran-ng=7.2.0=hdf63c60_3
49-
- libnetcdf=4.6.1=2
50-
- libpng=1.6.35=ha92aebf_0
51-
- libssh2=1.8.0=h5b517e9_2
52-
- libtiff=4.0.9=he6b73bb_1
53-
- markupsafe=1.0=py27_0
54-
- mpi=1.0=mpich
55-
- mpich=3.2.1=h26a2512_4
56-
- ncurses=6.1=hfc679d8_1
57-
- netcdf-fortran=4.4.4=7
58-
- numpydoc=0.8.0=py_1
59-
- openssl=1.0.2o=h470a237_1
60-
- ossuuid=1.6.2=hfc679d8_0
61-
- packaging=17.1=py_0
62-
- pexpect=4.6.0=py27_0
63-
- ptyprocess=0.6.0=py27_0
64-
- pycparser=2.18=py_1
65-
- pygments=2.2.0=py_1
66-
- pyopenssl=18.0.0=py27_0
67-
- pyparsing=2.2.0=py_1
68-
- pysocks=1.6.8=py27_1
69-
- python=2.7.15=h9fef7bc_0
70-
- pytz=2018.5=py_0
71-
- readline=7.0=haf1bffa_1
72-
- requests=2.19.1=py27_1
73-
- setuptools=40.0.0=py27_1
74-
- six=1.11.0=py27_1
75-
- snowballstemmer=1.2.1=py_1
76-
- sphinxcontrib-websupport=1.0.1=py27_0
77-
- sqlite=3.24.0=h2f33b56_0
78-
- tk=8.6.8=0
79-
- typing=3.6.4=py27_2
80-
- urllib3=1.23=py27_1
81-
- xz=5.2.4=h470a237_1
82-
- zlib=1.2.11=h470a237_3
83-
- binutils_impl_linux-64=2.31.1=h6176602_0
84-
- binutils_linux-64=2.31.1=h6176602_2
85-
- freetype=2.9.1=h8a8886c_0
86-
- funcsigs=1.0.2=py27_0
87-
- gcc_impl_linux-64=7.3.0=habb00fd_0
88-
- gcc_linux-64=7.3.0=h553295d_2
26+
- esmf=7.1.0=hdfb41a0_1004
27+
- esmpy=7.1.0=py37h24bf2e0_3
28+
- freetype=2.9.1=h8a8886c_1
29+
- future=0.17.1=py37_1000
30+
- g2clib=1.6.0=hf3f1b0b_9
31+
- hdf4=4.2.13=h9a582f1_1002
32+
- hdf5=1.10.4=nompi_h3c11f04_1106
33+
- idna=2.8=py37_1000
34+
- imagesize=1.1.0=py37_0
35+
- ipython_genutils=0.2.0=py_1
36+
- jasper=1.900.1=h07fcdf6_1006
37+
- jinja2=2.10=py37_0
38+
- jpeg=9c=h14c3975_1001
39+
- jsonschema=3.0.1=py37_0
40+
- jupyter_core=4.4.0=py_0
41+
- krb5=1.16.3=h05b26f9_1001
42+
- lazy-object-proxy=1.3.1=py37h14c3975_1000
43+
- libcdms=3.1.2=hcbdc9ef_1000
44+
- libcf=1.0.2=py37h6e3784b_1006
45+
- libcurl=7.64.1=hda55be3_0
46+
- libdrs=3.1.2=h6e3784b_1
47+
- libdrs_f=3.1.2=h750f5ca_1
48+
- libedit=3.1.20170329=hf8c457e_1001
49+
- libffi=3.2.1=he1b5a44_1006
8950
- libgcc-ng=8.2.0=hdf63c60_1
90-
- libopenblas=0.2.20=h9ac9557_7
51+
- libgfortran-ng=7.3.0=hdf63c60_0
52+
- libnetcdf=4.6.2=hbdf4f91_1001
53+
- libpng=1.6.36=h84994c4_1000
54+
- libssh2=1.8.2=h22169c7_2
9155
- libstdcxx-ng=8.2.0=hdf63c60_1
92-
- mock=2.0.0=py27_0
93-
- numpy=1.14.3=py27h28100ab_1
94-
- numpy-base=1.14.3=py27h0ea5e3f_1
95-
- olefile=0.45.1=py27_0
96-
- pbr=4.2.0=py27_0
97-
- pillow=5.2.0=py27heded4f4_0
98-
- pip=10.0.1=py27_0
99-
- sphinx=1.7.6=py27_0
100-
- sphinx_rtd_theme=0.4.1=py27_0
101-
- wheel=0.31.1=py27_0
102-
- pip:
103-
- commonmark==0.5.4
104-
- mv2==3.0.0
105-
- readthedocs-sphinx-ext==0.5.14
106-
- recommonmark==0.4.0
107-
- regrid2==3.0.0
108-
prefix: /export/reshel3/anaconda52/envs/cdms2
109-
56+
- libtiff=4.0.10=h648cc4a_1001
57+
- markupsafe=1.1.1=py37h7b6447c_0
58+
- mock=2.0.0=py37_0
59+
- mpi=1.0=mpich
60+
- mpich=3.2.1=h1c2f66e_1008
61+
- nbformat=4.4.0=py_1
62+
- ncurses=6.1=hf484d3e_1002
63+
- netcdf-fortran=4.4.5=hea25ff8_1000
64+
- numpy=1.16.2=py37_blas_openblash1522bff_0
65+
- numpydoc=0.8.0=py37_0
66+
- olefile=0.46=py37_0
67+
- openblas=0.3.3=h9ac9557_1001
68+
- openssl=1.1.1b=h7b6447c_1
69+
- ossuuid=1.6.2=hf484d3e_1000
70+
- packaging=19.0=py37_0
71+
- pbr=5.1.3=py_0
72+
- pexpect=4.7.0=py37_0
73+
- pillow=5.4.1=py37h34e0f95_0
74+
- pip=19.0.3=py37_0
75+
- ptyprocess=0.6.0=py37_1000
76+
- pycparser=2.19=py37_1
77+
- pygments=2.3.1=py37_0
78+
- pyopenssl=19.0.0=py37_0
79+
- pyparsing=2.3.1=py37_0
80+
- pyrsistent=0.14.11=py37h14c3975_0
81+
- pysocks=1.6.8=py37_1002
82+
- python=3.7.3=h5b0a415_0
83+
- pytz=2018.9=py37_0
84+
- readline=7.0=hf8c457e_1001
85+
- requests=2.21.0=py37_1000
86+
- setuptools=41.0.0=py37_0
87+
- six=1.12.0=py37_1000
88+
- snowballstemmer=1.2.1=py37_0
89+
- sphinx=1.8.5=py37_0
90+
- sphinx_rtd_theme=0.4.3=py_0
91+
- sphinxcontrib=1.0=py37_1
92+
- sphinxcontrib-websupport=1.1.0=py37_1
93+
- sqlite=3.26.0=h67949de_1001
94+
- tk=8.6.9=h84994c4_1001
95+
- traitlets=4.3.2=py37_1000
96+
- urllib3=1.24.1=py37_1000
97+
- wheel=0.33.1=py37_0
98+
- xz=5.2.4=h14c3975_1001
99+
- zlib=1.2.11=h14c3975_1004
100+
prefix: /software/anaconda53/envs/cdms2

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@
2828
# add these directories to sys.path here. If the directory is relative to the
2929
# documentation root, use os.path.abspath to make it absolute, like shown here.
3030
#sys.path.insert(0, os.path.abspath('.'))
31+
sys.path.insert(0,os.path.join(sys.prefix,"lib","python3.7","site-packages"))
3132
sys.path.insert(0,os.path.join(sys.prefix,"lib","python2.7","site-packages"))
32-
print os.path.join(sys.prefix,"lib","python2.7","site-packages")
33+
print(os.path.join(sys.prefix,"lib","python3.7","site-packages"))
3334
os.environ['UVCDAT_ANONYMOUS_LOG']="False"
35+
import MV2
3436

3537

3638

docs/source/manual/cdms_2.rst

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -344,15 +344,16 @@ Cdms Module Functions(cont'd)
344344
NOT be generated; the ``getBounds`` method will return ``None`` for the boundaries.
345345
**Note:** In versions of CDMS prior to V4.0, the default ``mode`` was ``'on'``."
346346
"None", "``setClassifyGrids(mode)``:
347-
Set the grid classification mode.
348-
This affects how grid type is determined, for the purpose of generating grid boundaries.
349-
* If ``mode`` is ``'on'`` (the default), grid type is determined by a grid classification method,
347+
Set the grid classification mode.
348+
This affects how grid type is determined, for the purpose of generating grid
349+
boundaries.
350+
* If ``mode`` is ``'on'`` (the default), grid type is determined by a grid classification method,
350351
regardless of the value of ``grid.get-Type()``.
351-
* If ``mode`` is ``'off'``, the value of ``grid.getType()`` determines the grid type."
352+
* If ``mode`` is ``'off'``, the value of ``grid.getType()`` determines the grid type."
352353
"None", "``writeScripGrid(path, grid, gridTitle=None)``:
353354
Write a grid to a SCRIP grid file.
354-
* ``path`` is a string, the path of the SCRIP file to be created.
355-
* ``grid`` is a CDMS grid object. It may be rectangular. ``gridTitle`` is a string ID for the grid."
355+
* ``path`` is a string, the path of the SCRIP file to be created.
356+
* ``grid`` is a CDMS grid object. It may be rectangular. ``gridTitle`` is a string ID for the grid."
356357

357358

358359

@@ -794,16 +795,16 @@ CdmsFile Methods(cont'd)
794795
* ``datatype`` is an ``MV2`` typecode, e.g., ``MV2.Float``, ``MV2.Int``.
795796
* ``axes`` is a list of Axis and/or Grid objects.
796797
* ``fill_value`` is the missing value (optional)."
797-
"Variable", "``createVariableCopy (var, newname=None)``", "Create a new ``Variable``, with the same name,
798-
axes, and attributes as the input variable.
799-
An error is raised if a variable of the same name exists
800-
in the file.
798+
"Variable", "``createVariableCopy (var, newname=None)``", "Create a new ``Variable``, with the same name, axes, and
799+
attributes as the input variable. An error is raised if a
800+
variable of the same name exists in the file.
801801
* ``var`` is the ``Variable`` to be copied.
802802
* ``newname``, if specified is the name of the new variable.
803803
* If unspecified, the returned variable has the same name as ``var``.
804804
**Note:** Unlike copyAxis, the actual data is not copied to the new variable."
805-
"CurveGrid or Generic-Grid", "``readScripGrid (self,whichGrid= 'destination',check-Grid=1)``", "Read a curvilinear or generic grid from a SCRIP netCDF file.
806-
The file can be a SCRIP grid file or remapping file.
805+
"CurveGrid or Generic-Grid", "``readScripGrid (self,whichGrid= 'destination',check-Grid=1)``", "Read a curvilinear or generic grid from a SCRIP netCDF file.
806+
The file can be a SCRIP grid file or remapping file.
807+
807808
* If a mapping file, ``whichGrid`` chooses the grid to read, either ``'source'`` or ``'destination'``.
808809
* If ``checkGrid`` is ``1`` (default), the grid cells are checked for convexity, and 'repaired' if necessary.
809810
* Grid cells may appear to be nonconvex if they cross a ``0 / 2pi`` boundary.

readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ conda:
1010
build:
1111
image: latest
1212
python:
13-
version: 2.70
13+
version: 3.70
1414
setup_py_install: true
1515

run_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def __setup_cdms(self):
2323
cacert_pem = ""
2424
if hostname.endswith('.llnl.gov'):
2525
cmd = "curl https://access.llnl.gov/cspca.cer -o {h}/cspca.cer".format(h=home)
26+
cmd = "curl -k https://www-csp.llnl.gov/content/assets/csoc/cspca.crt -o {h}/cspca.cer".format(h=home)
2627
ret_code, out = run_command(cmd)
2728
if ret_code != SUCCESS:
2829
return ret_code

0 commit comments

Comments
 (0)