Skip to content

Conversation

@g7gpr
Copy link
Contributor

@g7gpr g7gpr commented Jun 25, 2025

Allows SkyFit2 to read in bz2 files and write a xx0001.cal file in the working directory.

(vRMS) david@lap-deb-01:~/source/RMS$ python -m Utils.SkyFit2 ~/RMS_data/ArchivedFiles/AU000K_20250624_100321_533326_detected.tar.bz2

Platepar written to: /tmp/tmpuz3mdypw/platepar_cmn2010.cal
Writing modified platepar to /home/david/source/RMS/au000k.cal

This saves manually decompressing the directories. Uses the tempfile library and context handlers to clean up afterwards.

@g7gpr g7gpr requested a review from dvida June 25, 2025 14:32
@g7gpr
Copy link
Contributor Author

g7gpr commented Jun 26, 2025

And also run over a network.

python -m Utils.SkyFit2 au000a@192.168.xx.xx:22:source/RMS/.config

@g7gpr
Copy link
Contributor Author

g7gpr commented Jun 27, 2025

@g7gpr g7gpr closed this Jun 27, 2025
@g7gpr g7gpr deleted the feature/utils/SkyMap/bz2 branch June 27, 2025 11:29
@g7gpr g7gpr restored the feature/utils/SkyMap/bz2 branch June 27, 2025 11:29
@g7gpr g7gpr reopened this Jun 27, 2025
@g7gpr g7gpr marked this pull request as draft August 19, 2025 01:13
@g7gpr
Copy link
Contributor Author

g7gpr commented Aug 19, 2025

Set as draft, considering how to handle the work station .config stationID and the platepar station_code do not match

@g7gpr
Copy link
Contributor Author

g7gpr commented Aug 25, 2025

Add the ability to speciify a mask file when opening a bz2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant