Giter Club home page Giter Club logo

desdb's People

Contributors

beckermr avatar esheldon avatar joezuntz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

desdb's Issues

describe method does not work for other people's catalog

The describe method does not work if you need to use a qualified name like joezuntz.im3shape_v7_r to access the catalog. For example, you can't use either conn.describe("joezuntz.im3shape_v7_r") or conn.describe("im3shape_v7_r") unless you are me.

python3 support

Currently sync.py still uses the python2 print statement as opposed to print_function, which makes the module import fail

problem with installing cx_Oracle on macOSX 10.8

Hi Erin,

I am having a problem with the above.

I downloaded

http://www.cosmo.bnl.gov/www/esheldon/code/misc/des-oracle-macosx-x86-64-v2.tar.gz

Am I missing a dependency?

Your README mentions oracle libraries but I assumed your tarball had everything.

Thanks Richard

rgm> ./do-install install
installing to: install
/data/superstore/rgm/soft/des/des-oracle-macosx-x86-64-v2/instantclient_10_2 /data/superstore/rgm/soft/des/des-oracle-macosx-x86-64-v2
/data/superstore/rgm/soft/des/des-oracle-macosx-x86-64-v2
installing oracle client in install/instantclient_10_2
compiling cx_Oracle
Traceback (most recent call last):
File "setup.py", line 126, in
raise DistutilsSetupError(messageFormat % userOracleHome)
distutils.errors.DistutilsSetupError: Oracle home (install/instantclient_10_2) does not refer to an 9i, 10g or 11g installation.
installing cx_Oracle to install/
cp: cx_Oracle.so: No such file or directory

feature request: column comments in table description

Hi Erin - thanks for this package. Just heard about it last week in Berkeley.

Can you add column comments when describing tables? (Perhaps as an option so that the results are still < 80 characters?)

I could take a crack at it and give you a PR, but I wanted to check in with you first.

some missing quotes in files.py

Hi Erin, I think there is a missing single quote in line 631 and also 635.

In [1]: import desdb
File "/home/rgm/lib/python/desdb/files.py", line 631
'name': '$RUN-$EXPNAME-$CCD-$FILETYPE.$EXT}
^
SyntaxError: EOL while scanning string literal

Adding a single quote after $EXT fixes it.

r.

des-sync-coadd error

Hi Erin,

I am exploring the use of des-sync-coadd for the Y1C1 release.

An example download is:
https://desar2.cosmology.illinois.edu:7443/DESFiles/desardata/OPS/coadd/20130319000001_DES0025-4249/coadd

des-sync-coadd --debug 20130319000001_DES0025-4249

I have assigned $DESDATA and $DESREMOTE

gives me an error that ends in:

File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/desdb/files.py", line 694, in _expand_desvars
return expand_desvars(url, **keys)
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/desdb/files.py", line 838, in expand_desvars
"be sent: '%s'" % string_in)
ValueError: coadd_run keyword must be sent: '$DESDATA/$DESPROJ/coadd/$COADD_RUN/coadd'

Feature request: support for username/password security in a .desservices.ini style file

Dear Erin,

This is a security related feature request for the desdb package to support reading
username and password from a ini/config file. This also helps with portability.

DES trivialAccess now supports 'hiding' your DESDB password in a Windows ini format file that defaults to ~/.desservices or a filename can be specified.

Also it checks the file protection reporting:

"Please make your service access file unreadable and unwritable by group and other
try: Go to home directory, chmod og-rw .desservices.ini"

trivialAccess -f [filename] -s[section]

see: here

e.g.

[rgm]
server ='server'
user = 'username'
passwd = 'password'
name = 'name'
port = 'port'

trivialAccess -s rgm

read my username and password from the default file in the section [rgm]

Cheers Richard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.