aboutsummaryrefslogtreecommitdiffstats
path: root/bin/hpx2healpix
Commit message (Collapse)AuthorAgeFilesLines
* configs: Use lower case for logging levelsAaron LI2017-10-041-2/+2
|
* utils: Merge fits.py into io.pyAaron LI2017-08-131-1/+1
| | | | | | Functions "{read,write}_fits_healpix()" merged into io.py Signed-off-by: Aaron LI <aly@aaronly.me>
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-311-1/+1
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Update bin scripts to use global "CONFIGS"Aaron LI2017-07-231-8/+5
| | | | | | Also update copyright year/email and minor cleanups Signed-off-by: Aaron LI <aly@aaronly.me>
* Import modules (with Numba JIT) just before usageAaron LI2016-12-131-2/+3
| | | | Thus, the usage information can be printed out quickly :)
* 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