aboutsummaryrefslogtreecommitdiffstats
path: root/bin/hpx2healpix
Commit message (Collapse)AuthorAgeFilesLines
* utils/__init__.py: Only import "setup_logging" from "logging.py"Aaron LI2016-10-291-1/+3
| | | | | | | | | | Since some modules (e.g., healpix.py) under "utils" involves Numba JIT optimization, which significantly slows the start-up speed, even some consumers (e.g., bin/fg21sim-webui) do not need them at all. Fix various import statements of other modules. NOTE: not test at the moment!
* Check the output file existence firstAaron LI2016-10-271-2/+8
|
* utils: Preseve the dtype when read/write FITS filesAaron LI2016-10-101-8/+0
| | | | | | | | * utils/fits.py: hack the dtype to ignore the byteorder (FITS data use big endianness, e.g., dtype(">f4")) * utils/healpix.py: explicit convert the dtype and log the dtype * bin/healpix2hpx, bin/hpx2healpix: remove the --float argument * other minor fixes/updates
* Update to use the "write_fits_healpix()" functionAaron LI2016-10-051-17/+3
|
* bin/{healpix2hpx,hpx2healpix}: Use argparse choicesAaron LI2016-10-031-2/+3
|
* Add logging support for "healpix2hpx" & "hpx2healpix"Aaron LI2016-09-291-3/+27
| | | | | | * Argument "--log" control the log level * Argument "--logfile" to log the messages to file * Argument "--quiet" to disable logging messages to screen
* Remove ".py" extension for bin scriptsAaron LI2016-09-271-0/+69