aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/products.py
Commit message (Collapse)AuthorAgeFilesLines
* products: Various minor cleanupsAaron LI2019-02-281-22/+14
|
* products.py: Add a note about updating against with sky.pyAaron LI2017-10-291-1/+3
|
* Update logging messagesAaron LI2017-10-291-3/+3
|
* products.py: Add parameter "load" to __init__()Aaron LI2016-12-091-6/+10
| | | | | | | | | | The "load" parameter explicitly controls whether to load the specified manifest file. Update "foregrounds.py" to use this new "load" parameter, which prevent the manifest file been loaded. Otherwise, if the output manifest file already exists, it will be loaded to Products, which may cause inconsistencies with the manifest of newly simulated products.
* utils: Rename function "md5()" to "calc_md5()"Aaron LI2016-11-261-6/+6
|
* products.py: Add method "get_root_dir()" and use itAaron LI2016-11-241-9/+32
|
* products.py: Add new method "get_product_abspath()"Aaron LI2016-11-231-0/+34
| | | | | This new method will be used by the "ProductsAJAXHandler" for the "open" and "download" actions.
* products: Support frequency unit; Add "reset()" methodAaron LI2016-11-221-3/+25
|
* products.py: Implement method "convert_hpx()" and other fixesAaron LI2016-11-211-5/+41
| | | | | | * Fix "load()" to assign the "self.manifestfile" attribute * Add and use the simple method "get_product()"; * Make parameters of "checksum()" are required;
* products.py: Fix three bugs.Aaron LI2016-11-211-5/+5
| | | | | | * Convert "range()" to list, also make sure "value" is a Python list * Parameter "outfile" of "dump()" is optional * Correct the wrong "self.userconfig" to "self.manifestfile"
* products.py: Use "utils.hashutil.md5()"Aaron LI2016-11-211-3/+3
|
* Fix two bugs and change one variable nameAaron LI2016-11-211-1/+1
| | | | | | | | * foregrounds.py: Use "configs.get_path()" to get the manifest file path; * foregrounds.py: Use "min()" and "max()" since "self.frequencies" has been changed to be a plain Python list instead of a Numpy array; * foregrounds.py: Change the variable "freqid" to "freq_id"; * products.py: Assign the attribute "self.manifestfile"
* Add logging message on backing up old fileAaron LI2016-11-211-0/+1
|
* products.py: Add method "add_product()" to add one single product.Aaron LI2016-11-211-11/+45
| | | | Also update the "add_component()" method to use "add_product()"
* Add "products.py" to manager and manipulate the simulation productsAaron LI2016-11-201-0/+275
The class "Products" may build the manifest for the simulation products, and can manage/manipulate this manifest.