-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
h5boss version 2 #1
Open
valiantljk
wants to merge
199
commits into
sbailey:master
Choose a base branch
from
valiantljk:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 105 commits
Commits
Show all changes
199 commits
Select commit
Hold shift + click to select a range
89ce43a
h5boss subselect
valiantljk 15def44
update
valiantljk d78cd1e
update
valiantljk c14db91
update
valiantljk 81ee2fc
update
valiantljk 6c7f37a
fix but in select.py
valiantljk 7385b40
add timing
valiantljk ba68934
add pmj test
valiantljk b4f2ee5
add pmj check
valiantljk b0a02de
add metadata check
valiantljk 47281d9
update parallel converter
valiantljk 56c6a72
update gitignore
valiantljk c0fdb4f
update add pmf
valiantljk ea11b36
h5boss select function
valiantljk 1e72067
Create README.md
valiantljk 1875387
boss2hdf5
valiantljk fdab5c9
Merge branch 'master' of https://github.com/valiantljk/h5boss-util
valiantljk d093808
update
valiantljk 96bbda4
update select
valiantljk 3dd8d54
update demo and scritps
valiantljk 5884ac4
update random
valiantljk 05a1192
update h5boss subset-selection
valiantljk 9ea4163
delete h5 files
valiantljk 117c23e
h5boss_uitl.ipynb
valiantljk b8e3045
update
valiantljk 63c18e7
update xlsx
valiantljk 731c627
update add
valiantljk dca3f76
update
valiantljk 428ca13
update update.py
valiantljk d52f82b
update remove.py
valiantljk bcf07b2
delete files
valiantljk c8e20ed
update tdd
valiantljk 01d0bda
Update README.md
valiantljk 3b17d1f
Update README.md
valiantljk 99acd41
update test cases
valiantljk 27263ec
Merge branch 'master' of github.com:valiantljk/h5boss-util
valiantljk 7b933ac
update test_remove.py
valiantljk c73b510
pmf full list and csv read
valiantljk c147555
random pmf list
valiantljk 19a8766
Update README.md
valiantljk d72f4f7
Update README.md
valiantljk 1498a3a
Update README.md
valiantljk 41759dd
Update README.md
valiantljk f04560a
update functions
valiantljk c515c11
Merge branch 'master' of github.com:valiantljk/h5boss-util
valiantljk f2e870c
update
valiantljk a74fcf7
update
valiantljk 7f7bd0f
update multiprocessing subset
valiantljk eb4bb99
start h5boss select mpi version
valiantljk 09aff6a
add cori script
valiantljk 0892557
update mpi version
valiantljk 3b44d35
added repack option in remove
valiantljk 9018209
update boss2hdf5 parallel
valiantljk 6531811
parallel dev
valiantljk 7ff0346
update parallel meta query
valiantljk 13e3a15
subset function bug fixed, catalog is a 1d table that contains compou…
valiantljk 7d7e6c9
update mpi version
valiantljk 8796ea7
update parallel subset with virtual dataset optimization
valiantljk 15c583e
update
valiantljk 269e250
update h5boss
valiantljk a67dea6
support parallel read write to shared file
valiantljk aa400d8
update h5boss
valiantljk 1e621f9
remove h5check
valiantljk 1ba57f1
update
valiantljk 31c3399
update h5boss c
valiantljk aea23cb
ch5boss parallel and pyh5boss catalog function
valiantljk 6eb624e
update
valiantljk 19de353
change code structure
valiantljk 5e559cf
catalog parallel smart write
valiantljk 5e06af7
update catalog copy
valiantljk 00b5f56
update
valiantljk cab6926
update catalog write
valiantljk 60b4f2d
update h5bosspy timing
valiantljk 82f73ad
update gitignore
valiantljk 0169d48
before adding catalog c code
valiantljk 47aa06f
fix bug in parsing parameters, break
valiantljk 45790e5
update catalog parsing and read
valiantljk 8170c5f
update catalog read
valiantljk 7ff1c91
update 1 read fields by fiberid, 2 read records by offsets list, 3 wr…
valiantljk a9120fd
finish h5boss c catalog parallel read write debugging
valiantljk 25768cb
update h5boss python
valiantljk 03b99be
update h5boss map initial version
valiantljk 24d863b
update new format converter
valiantljk ab53b00
update h5boss format version 2, done
valiantljk e308057
update h5boss converter v2, fix exposures part, change 1d to 2d array
valiantljk 044cb4b
update boss2hdf5 v1
valiantljk cafdcb9
update conversion 2 script
valiantljk 8fb7c3e
update h5boss query
valiantljk c502dca
update checkfiber
valiantljk 9088033
update h5boss v2 query
valiantljk 12b45ed
Update README.md
valiantljk 3ee5cc1
update h5map: get dataset type and shape. fiber template create for n…
valiantljk 6a14020
Merge branch 'master' of github.com:valiantljk/h5boss-util
valiantljk 74612d4
readd h5boss subset v1
valiantljk fa1b46f
regorganize the files
valiantljk a7d652b
update subset_mpi.py
valiantljk dce5894
update h5boss v2 query
valiantljk 8cb15bc
figured out python list buffer reusing issue
valiantljk 23e5f78
create template has bug, start to rewrite fiber copy
valiantljk 63358ba
template creation is ok, parallel fiber copy is under debugging
valiantljk 1a3b6d4
found a bug in datamap, the assumption that flux in different plate/m…
valiantljk a908031
need to fix the bug in datamap
valiantljk d8ff2e8
update selectmpi and h5map
valiantljk 6784a14
parallel read for v2 is done
valiantljk e37d94b
update subset_mpi interface
valiantljk 1066f55
unify the submit_subset script
valiantljk f4e84bc
achived 2.5X in template creation by turning on latest -libver- option
valiantljk ef56095
update gitignore
valiantljk bee3c25
clean h5boss c
valiantljk b32589e
clean h5boss c parser
valiantljk f7cbf21
re-org h5boss py
valiantljk de4c8d8
add converter notebook and fibercheck slurm script
valiantljk 6eed9b2
rename files for version 2
valiantljk 1e106e7
rename files for version 2
valiantljk 045c675
clean scripts
valiantljk 1795a93
update test scripts
valiantljk 2992060
update random pmf script
valiantljk 79e50c8
h5boss clean codes version 0.1
valiantljk b414ac3
update clean version 0.1
valiantljk 45aec5d
update
valiantljk f9a2ef2
update
valiantljk 708aade
Update README.md
valiantljk bd503a0
Update README.md
valiantljk 069169a
update
valiantljk 6d5cf9a
update
valiantljk b0bc3eb
update
valiantljk 0e51fa0
add setup.py
valiantljk a8eafe8
update docs for parallel subset
valiantljk c964de8
update
valiantljk 9aaf5d5
update table contents on the page
valiantljk fc99d09
update converter
valiantljk 2c14611
update h5boss doc
valiantljk 40396f0
fix boss2hdf5
valiantljk 057a16f
update select
valiantljk d27182f
update select
valiantljk 98be44f
reverse subset
valiantljk 33c6730
update subset output
valiantljk 66b5786
change select output timing
valiantljk 4820b45
update page of subset
valiantljk c4a88ed
fix sql
valiantljk d51d8fc
fix sql
valiantljk f41363f
fix sql
valiantljk 7b46de8
fix sql
valiantljk 3adca57
fix sql
valiantljk ff6dd82
fix sql
valiantljk fe7c73f
fix sql
valiantljk 70d6a49
fix sql
valiantljk 2f18885
fix sql
valiantljk a9102c3
fix sql
valiantljk a7d95f5
fix sql
valiantljk fd4f79d
fix sql
valiantljk dfb4b27
fix sql
valiantljk 90f7f87
fix sql
valiantljk 16d1135
fix sql
valiantljk 14c508b
fix sql
valiantljk 49f76e3
fix sql
valiantljk 4654068
fix sql
valiantljk 44c4236
fix sql
valiantljk b64274a
add base file or function(add) demo
valiantljk 2d9e4bc
add base.h5
valiantljk 9465105
update select and sql
valiantljk 583d427
select_update fix
valiantljk f9b9a8f
fix update
valiantljk dde7816
fix update
valiantljk 5a2769e
update remove
valiantljk c94418d
update remove.py
valiantljk c6d2fea
update timing report
valiantljk f43e9d6
update timing of repack
valiantljk 55f7da9
repack option
valiantljk b839e8d
error handling
valiantljk 2d70890
clean codes in select.py
valiantljk 5befd4a
timer report
valiantljk 09a504b
updating docs
valiantljk 5e48475
bug fixed in select_update.py
valiantljk c804108
update add/subset/update docs
valiantljk b45ab80
fix convertion code
valiantljk b876a22
boss2hdf5
valiantljk 0dc1346
boss2hdf5
valiantljk 84e74b5
fix bugs in two converters
valiantljk 0a45939
select.py
valiantljk d9d4173
update doc for select
valiantljk 324275a
update sample file
valiantljk ed64567
doc for update
valiantljk 6b6a429
typo in update.rst
valiantljk c962f4b
update fits2hdf5
valiantljk b6be763
update fits2hdf
valiantljk b7fb347
update fits2hdf
valiantljk c6dc976
update fits2hdf image
valiantljk 7c3b5ad
update fits2hdf
valiantljk 1791541
example code for reading from fits versus from hdf5
valiantljk 38347c0
h5boss missing features
valiantljk 287f6e4
update missing features
valiantljk a673844
h5boss missing features
valiantljk 2a51d49
update fits2hdf5
valiantljk 0019e0b
update examples for reading multiple HDUs
valiantljk b7da5c8
typo in h5boss.add function
valiantljk 584f5be
Update README.md
valiantljk 9dc49a6
Update README.md
valiantljk 998e928
Update README.md
valiantljk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/Python 2.7.10 (/anaconda/bin/python2.7)"/> | ||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.USER_LIBRARY/h5boss"/> | ||
<classpathentry kind="output" path="out/production/h5boss-util"/> | ||
</classpath> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# h5boss | ||
Exploratory tools for reformatting BOSS spectra as hdf5 files | ||
# H5Boss | ||
Exploratory tools for managing BOSS spectra. | ||
|
||
Boss is originally maintained as millions of fits file in thousands of different folders. Accessing and analyzing them are inefficient in terms of I/O bandwidth and programming productivity. In h5boss, we focus on: | ||
|
||
1. Reformatting: Preserve the fits file structure and specture hierarchicy using HDF5 | ||
2. Object I/O: Design object interface for accessing the files as pmf indexed object | ||
3. Query Caching: Develop transparent cache for restoring analysis workflow and reducing metadata overhead | ||
4. Subset Selection: Support subset selection, moving various interested fiber object and catalog together and save in one file | ||
4. Data mover: Design API for moving data through various storage tiers. | ||
|
||
Currently, h5boss is implemented in both python and c version, in which the python version is actively maintained and supported. The c version is mainly for I/O sensitive users/applications. | ||
|
||
#Demo with h5boss_py | ||
1. source cori-setup | ||
2. cd h5boss_py/demo | ||
2. subset -h | ||
3. add -h | ||
4. update -h | ||
|
||
#Demo with h5boss_c | ||
1. cd h5boss_c | ||
2. make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
module load python | ||
module load h5py-parallel | ||
export PYTHONPATH=`pwd`/h5boss_py:$PYTHONPATH | ||
export PATH=`pwd`/h5boss_py/scripts:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
export PYTHONPATH=`pwd`/h5boss_py:$PYTHONPATH | ||
export PATH=`pwd`/h5boss_py/scripts:$PATH | ||
export basedir=/global/projecta/projectdirs/sdss/data/sdss/dr12/boss/spectro/redux/v5_7_0 | ||
export PYTHONPATH=/global/homes/j/jialin/anaconda2/lib/python2.7/site-packages:$PYTHONPATH | ||
export HDF5_PATH=/global/homes/j/jialin/packages/serial-hdf5/hdf5-1.8.16/hdf5path | ||
export H5PY_PATH=/global/homes/j/jialin/packages/h5py-2.6.0/h5pypath | ||
export PYTHONPATH=$H5PY_PATH/lib/python2.7/site-packages:$PYTHONPATH | ||
export PATH=/global/homes/j/jialin/anaconda2/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
module load python | ||
module load h5py-parallel | ||
export PYTHONPATH=`pwd`/h5boss_py:$PYTHONPATH | ||
export PATH=`pwd`/h5boss_py/scripts:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
#module load python/3.4-anaconda | ||
module load python/2.7-anaconda | ||
export PYTHONPATH=`pwd`/h5boss_py:$PYTHONPATH | ||
export PATH=`pwd`/h5boss_py/scripts:$PATH | ||
export basedir=/global/projecta/projectdirs/sdss/data/sdss/dr12/boss/spectro/redux/v5_7_0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component inherit-compiler-output="true" jdk="Python 2.7.10 (/anaconda/bin/python2.7)" jdk_type="Python SDK"> | ||
<output-test url="file://$MODULE_DIR$/out/test/h5boss-util"/> | ||
<exclude-output/> | ||
<contentEntry url="file://$MODULE_DIR$"/> | ||
<levels> | ||
<level name="h5boss" value="project"/> | ||
</levels> | ||
</component> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this .classpath file needed in h5boss, or was it accidentally added to the repo?