Code Monkey home page Code Monkey logo

sdssidl's People

Watchers

 avatar

sdssidl's Issues

Cosmology volume element

I'm not sure if it's intended or not but the volume and volume element in the 
cosmology idl class are per steradian at the moment.

Original issue reported on code.google.com by [email protected] on 15 Nov 2010 at 11:48

cannot compile pgsql_query.c; cannot find libpq-fe.h

What version of the product are you using? On what operating system?

1.6.1 on MacOS 10.6.4


I have installed postgresql 8.3 using fink

rgm@caml18-2(/sw/include/postgresql){147}> locate  libpq-fe.h 
/sw/include/postgresql/libpq-fe.h

When a run make, I get this error.

Making pgsql
gcc -I/Applications/itt/idl70/external/include -Wall -dynamic -m64 
-I/sw/include   -c -o pgsql_query.o pgsql_query.c
pgsql_query.c:67:22: error: libpq-fe.h: No such file or directory
In file included from pgsql_query.c:71:
pgsql_query.h:108: error: expected ‘)’ before ‘*’ token
pgsql_query.h:157: error: expected ‘)’ before ‘*’ token
pgsql_query.h:161: error: expected ‘)’ before ‘*’ token
pgsql_query.h:170: error: expected ‘)’ before ‘*’ token
pgsql_query.c: In function ‘IDL_Load’:
pgsql_query.c:151: warning: missing braces around initializer
pgsql_query.c:151: warning: (near initialization for 
‘function_addr[0].funct_addr’)
make[2]: *** [pgsql_query.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2


Please provide any additional information below.

For info I have managed to get 

 psycopg2 compiled and working with fink and python2.6

psycopg2 faq mentions similar problems

In the 
http://initd.org/psycopg/docs/faq.html#problems-compiling-psycopg-from-source


Original issue reported on code.google.com by [email protected] on 18 Jul 2010 at 3:14

which.pro does not search current working directory first for programs

What steps will reproduce the problem?
1. Make a new directory and copy a program in your IDL path to the new 
directory.  
2. Change to the new directory and start IDL.
3. Call which.pro to find out which version of the program you are using.  If 
you put a print statement in the copy in your working directory, you will see 
that IDL calls the copy in your working directory.  However, which.pro only 
finds the copy in your IDL path. 

What is the expected output? What do you see instead?
I would expect that which.pro would search the current working directory first 
since IDL uses programs in the current working directory before it looks in the 
IDL path.  If the two programs have a name collision, which.pro returns the 
location of the program in the IDL path.

What version of the product are you using? On what operating system?
I am using IDL 8.0 w/ sdssidl v1.7.0 w/ Linux




Original issue reported on code.google.com by [email protected] on 17 Feb 2012 at 1:29

BOOT_SAMPLES: Could not extract from d0

What steps will reproduce the problem?

IDL> x=randomn(5L, 10)
IDL> print, x         
     0.521414    -0.945489     0.683157      1.22728    0.0753817     -2.09936    -0.983745     0.437967
    -0.211478     0.360088
IDL> bs=bootstrap(1000,x)
% Compiled module: BOOTSTRAP.
% Variable is undefined: D0.
% BOOT_SAMPLES: Could not extract from d0

What is the expected output? What do you see instead?

Supposed to create bootstrap samples and calculate statistics for input 
variables, but won't complete run.

What version of the product are you using? On what operating system?

The latest download from the Jan 2012 tarball of all the files. I'm using it on 
a Linux system. 

Please provide any additional information below.

Also, I have edited one line in boot_samples.pro, line 51.
I changed dinput[i] = n to dinput[i-1] = n
I did this because otherwise the for loop looped outside the number of elements 
in dinput. 

Original issue reported on code.google.com by [email protected] on 29 Apr 2013 at 7:57

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.