RadioAstronomySoftwareGroup / RadioAstronomySoftwareGroup/pyuvsim

Feature Request: Partial writing

Open
#428 0 comments 0 reactions 1 assignee View on GitHub

@steven-murray is already working on this.

Since Jul 17, 2023.

enhancement
Dominant language
Python
Stars
54
Forks
11
Avg merge
2d 17h
Merged PRs (30d)
8

Description

Currently, the whole simulation is written to a single file at the end of simulation. This has three potential drawbacks:

  1. Sometimes you want to split your simulation into multiple files for easier handling after the simulation (eg. splitting on time)
  2. Sometimes you want to split the simulation into different chunks which run independently, but might want to write the results into one file (eg. vis cpu is most easily run by sending each frequency to its own SLURM task. It would be nice if the results were all written back into one file though).
  3. Sometimes you might want to "checkpoint" the simulation for large sims.

It would be good to think about what an extension to the "filing" configuration might look like that can enable this. Also, keep in mind that there should be some conceptual separation between the configuration and the implementation -- hera_sim for example uses the pyuvsim configuration definition, but not its implementation of the simulation itself.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.