-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use moto-server to create a local S3 service. (#39)
* Use moto-server to create a local S3 service. * Use local_s3 for github ci * Disable warnings - this code is better.
- Loading branch information
1 parent
f3cdc02
commit 83de3bf
Showing
60 changed files
with
648 additions
and
90 deletions.
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
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
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
{ | ||
"catalog_name": "small_sky", | ||
"catalog_type": "object", | ||
"total_rows": 131, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec" | ||
} |
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,2 @@ | ||
Norder,Npix,Dir | ||
0,11,0 |
Binary file not shown.
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,57 @@ | ||
{ | ||
"catalog_name": "small_sky", | ||
"catalog_type": "object", | ||
"total_rows": 131, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec", | ||
"version": "0.3.10.dev5+g4357f0c", | ||
"generation_date": "2024.10.03", | ||
"tool_args": { | ||
"tool_name": "hipscat_import", | ||
"version": "0.3.6.dev16+g829fe47", | ||
"runtime_args": { | ||
"catalog_name": "small_sky", | ||
"output_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data", | ||
"output_artifact_name": "small_sky", | ||
"tmp_dir": "/tmp/tmpghnadxlo", | ||
"dask_tmp": null, | ||
"dask_n_workers": 1, | ||
"dask_threads_per_worker": 1, | ||
"catalog_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data/small_sky", | ||
"tmp_path": "/tmp/tmpghnadxlo/small_sky/intermediate", | ||
"epoch": "J2000", | ||
"catalog_type": "object", | ||
"input_path": "small_sky_parts", | ||
"input_paths": [ | ||
"small_sky_parts/catalog_00_of_05.csv", | ||
"small_sky_parts/catalog_01_of_05.csv", | ||
"small_sky_parts/catalog_02_of_05.csv", | ||
"small_sky_parts/catalog_03_of_05.csv", | ||
"small_sky_parts/catalog_04_of_05.csv" | ||
], | ||
"input_file_list": [], | ||
"ra_column": "ra", | ||
"dec_column": "dec", | ||
"use_hipscat_index": false, | ||
"sort_columns": null, | ||
"constant_healpix_order": -1, | ||
"lowest_healpix_order": 0, | ||
"highest_healpix_order": 1, | ||
"pixel_threshold": 1000000, | ||
"mapping_healpix_order": 1, | ||
"debug_stats_only": false, | ||
"file_reader_info": { | ||
"input_reader_type": "CsvReader", | ||
"chunksize": 500000, | ||
"header": "infer", | ||
"schema_file": null, | ||
"column_names": null, | ||
"type_map": null, | ||
"parquet_kwargs": null, | ||
"upath_kwargs": null, | ||
"kwargs": {} | ||
} | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
{ | ||
"catalog_name": "small_sky_object_index", | ||
"catalog_type": "index", | ||
"total_rows": 131, | ||
"primary_catalog": "small_sky_order1", | ||
"indexing_column": "id", | ||
"extra_columns": [] | ||
} |
Binary file not shown.
31 changes: 31 additions & 0 deletions
31
tests/cloud/data/small_sky_object_index/provenance_info.json
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,31 @@ | ||
{ | ||
"catalog_name": "small_sky_object_index", | ||
"catalog_type": "index", | ||
"total_rows": 131, | ||
"primary_catalog": "small_sky_order1", | ||
"indexing_column": "id", | ||
"extra_columns": [], | ||
"version": "0.3.10.dev5+g4357f0c", | ||
"generation_date": "2024.10.03", | ||
"tool_args": { | ||
"tool_name": "hipscat_import", | ||
"version": "0.3.6.dev16+g829fe47", | ||
"runtime_args": { | ||
"catalog_name": "small_sky_object_index", | ||
"output_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data", | ||
"output_artifact_name": "small_sky_object_index", | ||
"tmp_dir": "/tmp/tmp52o7hhz0", | ||
"dask_tmp": null, | ||
"dask_n_workers": 1, | ||
"dask_threads_per_worker": 1, | ||
"catalog_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data/small_sky_object_index", | ||
"tmp_path": "/tmp/tmp52o7hhz0/small_sky_object_index/intermediate", | ||
"input_catalog_path": "small_sky_order1", | ||
"indexing_column": "id", | ||
"extra_columns": [], | ||
"include_hipscat_index": true, | ||
"include_order_pixel": true, | ||
"include_radec": false | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
{ | ||
"catalog_name": "small_sky_order1", | ||
"catalog_type": "object", | ||
"total_rows": 131, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec" | ||
} |
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 @@ | ||
Norder,Npix,Dir | ||
1,44,0 | ||
1,45,0 | ||
1,46,0 | ||
1,47,0 |
Binary file not shown.
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,57 @@ | ||
{ | ||
"catalog_name": "small_sky_order1", | ||
"catalog_type": "object", | ||
"total_rows": 131, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec", | ||
"version": "0.3.10.dev5+g4357f0c", | ||
"generation_date": "2024.10.03", | ||
"tool_args": { | ||
"tool_name": "hipscat_import", | ||
"version": "0.3.6.dev16+g829fe47", | ||
"runtime_args": { | ||
"catalog_name": "small_sky_order1", | ||
"output_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data", | ||
"output_artifact_name": "small_sky_order1", | ||
"tmp_dir": "/tmp/tmpv5r7yuuc", | ||
"dask_tmp": null, | ||
"dask_n_workers": 1, | ||
"dask_threads_per_worker": 1, | ||
"catalog_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data/small_sky_order1", | ||
"tmp_path": "/tmp/tmpv5r7yuuc/small_sky_order1/intermediate", | ||
"epoch": "J2000", | ||
"catalog_type": "object", | ||
"input_path": "small_sky_parts", | ||
"input_paths": [ | ||
"small_sky_parts/catalog_00_of_05.csv", | ||
"small_sky_parts/catalog_01_of_05.csv", | ||
"small_sky_parts/catalog_02_of_05.csv", | ||
"small_sky_parts/catalog_03_of_05.csv", | ||
"small_sky_parts/catalog_04_of_05.csv" | ||
], | ||
"input_file_list": [], | ||
"ra_column": "ra", | ||
"dec_column": "dec", | ||
"use_hipscat_index": false, | ||
"sort_columns": null, | ||
"constant_healpix_order": 1, | ||
"lowest_healpix_order": 0, | ||
"highest_healpix_order": 10, | ||
"pixel_threshold": 1000000, | ||
"mapping_healpix_order": 1, | ||
"debug_stats_only": false, | ||
"file_reader_info": { | ||
"input_reader_type": "CsvReader", | ||
"chunksize": 500000, | ||
"header": "infer", | ||
"schema_file": null, | ||
"column_names": null, | ||
"type_map": null, | ||
"parquet_kwargs": null, | ||
"upath_kwargs": null, | ||
"kwargs": {} | ||
} | ||
} | ||
} | ||
} |
Binary file added
BIN
+8.06 KB
tests/cloud/data/small_sky_order1_margin/Norder=0/Dir=0/Npix=4.parquet
Binary file not shown.
Binary file added
BIN
+8.24 KB
tests/cloud/data/small_sky_order1_margin/Norder=1/Dir=0/Npix=44.parquet
Binary file not shown.
Binary file added
BIN
+8.28 KB
tests/cloud/data/small_sky_order1_margin/Norder=1/Dir=0/Npix=45.parquet
Binary file not shown.
Binary file added
BIN
+8.18 KB
tests/cloud/data/small_sky_order1_margin/Norder=1/Dir=0/Npix=46.parquet
Binary file not shown.
Binary file added
BIN
+8.15 KB
tests/cloud/data/small_sky_order1_margin/Norder=1/Dir=0/Npix=47.parquet
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
tests/cloud/data/small_sky_order1_margin/catalog_info.json
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,10 @@ | ||
{ | ||
"catalog_name": "small_sky_order1_margin", | ||
"catalog_type": "margin", | ||
"total_rows": 28, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec", | ||
"primary_catalog": "small_sky_order1", | ||
"margin_threshold": 7200 | ||
} |
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 @@ | ||
Norder,Npix,Dir | ||
0,4,0 | ||
1,44,0 | ||
1,45,0 | ||
1,46,0 | ||
1,47,0 |
31 changes: 31 additions & 0 deletions
31
tests/cloud/data/small_sky_order1_margin/provenance_info.json
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,31 @@ | ||
{ | ||
"catalog_name": "small_sky_order1_margin", | ||
"catalog_type": "margin", | ||
"total_rows": 28, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec", | ||
"primary_catalog": "small_sky_order1", | ||
"margin_threshold": 7200, | ||
"version": "0.3.10.dev5+g4357f0c", | ||
"generation_date": "2024.10.03", | ||
"tool_args": { | ||
"tool_name": "hipscat_import", | ||
"version": "0.3.6.dev16+g829fe47", | ||
"runtime_args": { | ||
"catalog_name": "small_sky_order1_margin", | ||
"output_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data", | ||
"output_artifact_name": "small_sky_order1_margin", | ||
"tmp_dir": "/tmp/tmpsr8rjc0i", | ||
"dask_tmp": null, | ||
"dask_n_workers": 1, | ||
"dask_threads_per_worker": 1, | ||
"catalog_path": "/home/delucchi/git/s3/hipscat-cloudtests/tests/cloud/data/small_sky_order1_margin", | ||
"tmp_path": "/tmp/tmpsr8rjc0i/small_sky_order1_margin/intermediate", | ||
"input_catalog_path": "small_sky_order1", | ||
"margin_threshold": 7200, | ||
"margin_order": 4, | ||
"debug_filter_pixel_list": [] | ||
} | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,8 @@ | ||
{ | ||
"catalog_name": "small_sky_xmatch", | ||
"catalog_type": "object", | ||
"total_rows": 111, | ||
"epoch": "J2000", | ||
"ra_column": "ra", | ||
"dec_column": "dec" | ||
} |
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,4 @@ | ||
Norder,Npix,Dir | ||
1,44,0 | ||
1,45,0 | ||
1,46,0 |
Binary file not shown.
Oops, something went wrong.