This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
118 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# __init__.py | ||
from .ms_to_pq import ms_to_pq | ||
from .asdm_to_pq import asdm_to_pq | ||
from .fits_to_pq import fits_to_pq | ||
from .pq_to_ms import pq_to_ms | ||
from .pq_to_asdm import pq_to_asdm | ||
from .pq_to_fits import pq_to_fits |
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,21 @@ | ||
def asdm_to_pq(infile, outfile=None): | ||
""" | ||
.. todo:: | ||
This function is not yet implemented | ||
Convert ASDM format to Apache Parquet format (future) | ||
Parameters | ||
---------- | ||
infile : str | ||
Input ASDM filename | ||
outfile : str | ||
Output Parquet filename. If None, will use infile name with .pq extension | ||
Returns | ||
------- | ||
bool | ||
Success status | ||
""" | ||
return True | ||
|
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,21 @@ | ||
def fits_to_pq(infile, outfile=None): | ||
""" | ||
.. todo:: | ||
This function is not yet implemented | ||
Convert FITS format MS to Apache Parquet format (future) | ||
Parameters | ||
---------- | ||
infile : str | ||
Input FITS filename | ||
outfile : str | ||
Output Parquet filename. If None, will use infile name with .pq extension | ||
Returns | ||
------- | ||
bool | ||
Success status | ||
""" | ||
return True | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
def pq_to_asdm(infile, outfile=None): | ||
""" | ||
.. todo:: | ||
This function is not yet implemented | ||
Convert Apache Parquet MS to ASDM format (future) | ||
Parameters | ||
---------- | ||
infile : str | ||
Input Parquet filename | ||
outfile : str | ||
Output ASDM filename. If None, will use infile name with .asdm extension | ||
Returns | ||
------- | ||
bool | ||
Success status | ||
""" | ||
return True | ||
|
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,21 @@ | ||
def pq_to_fits(infile, outfile=None): | ||
""" | ||
.. todo:: | ||
This function is not yet implemented | ||
Convert Apache Parquet MS to FITS format (future) | ||
Parameters | ||
---------- | ||
infile : str | ||
Input Parquet filename | ||
outfile : str | ||
Output FITS filename. If None, will use infile name with .fits extension | ||
Returns | ||
------- | ||
bool | ||
Success status | ||
""" | ||
return True | ||
|
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,21 @@ | ||
def pq_to_ms(infile, outfile=None): | ||
""" | ||
.. todo:: | ||
This function is not yet implemented | ||
Convert Apache Parquet MS to Legacy CASA MS format | ||
Parameters | ||
---------- | ||
infile : str | ||
Input Parquet filename | ||
outfile : str | ||
Output MS filename. If None, will use infile name with .ms extension | ||
Returns | ||
------- | ||
bool | ||
Success status | ||
""" | ||
return True | ||
|
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