aboutsummaryrefslogtreecommitdiffstats
path: root/bin/healpix2hpx
Commit message (Collapse)AuthorAgeFilesLines
* 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-3/+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/+2
| | | | | | | | | | 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-1/+8
|
* Fix an import; Update one pattern and a commentAaron LI2016-10-141-1/+0
|
* utils: Preseve the dtype when read/write FITS filesAaron LI2016-10-101-5/+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
* 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/+55