-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
An error occurs when running python revolver.py --par parameters/params.py .
==== Starting the void-finding with ZOBOV ====
Loading galaxy data from file...
Cutting galaxies outside the redshift limits provided
WARNING: AstropyDeprecationWarning: "verbose" was deprecated in version 1.15.0 and will be removed in a future version. [python_tools.zobov]
Traceback (most recent call last):
File "revolver.py", line 163, in <module>
voidcat = ZobovVoids(parms)
File "/global/u2/c/chanun/Revolver/python_tools/zobov.py", line 107, in __init__
mask = hp.read_map(parms.mask_file, verbose=False)
File "/global/homes/c/chanun/.conda/envs/revenv/lib/python3.8/site-packages/astropy/utils/decorators.py", line 547, in wrapper
return function(*args, **kwargs)
File "/global/homes/c/chanun/.conda/envs/revenv/lib/python3.8/site-packages/healpy/fitsfunc.py", line 379, in read_map
nside = pixelfunc.npix2nside(pix.size)
File "/global/homes/c/chanun/.conda/envs/revenv/lib/python3.8/site-packages/healpy/pixelfunc.py", line 1121, in npix2nside
raise ValueError("Wrong pixel number (it is not 12*nside**2)")
ValueError: Wrong pixel number (it is not 12*nside**2)
Steps I completed after logging into jupyter.nersc
git clone https://github.com/seshnadathur/Revolver.git
module load python
conda create --name revenv python=3.8
source activate revenv
conda install astropy scipy cython
pip install pyfftw healpy
conda install ipython
Then I edited parameters/params.py to match my file paths after downloading the SDSS files. In the Makefile, I changed the line make -C src all to make -C src all_nompi . I proceed with the following
export PYTHONPATH=/global/homes/c/chanun/Revolver:$PYTHONPATH
cd Revolver
make clean
make
python revolver.py --par parameters/params.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels