pyampp.gxbox.gx_fov2box
Attributes
Classes
Functions
|
Module Contents
- class pyampp.gxbox.gx_fov2box.StageSaveContext[source]
-
- prepared_run: PreparedRunState[source]
- pyampp.gxbox.gx_fov2box.main(time: str | None = typer.Option(None, '--time', help='Observation time ISO (e.g. 2024-05-12T00:00:00)'), coords: Tuple[float, float] | None = typer.Option(None, '--coords', help='Center coords (x y)'), hpc: bool = typer.Option(False, '--hpc/--no-hpc', help='Use helioprojective coordinates'), hgc: bool = typer.Option(False, '--hgc/--no-hgc', help='Use heliographic carrington coordinates'), hgs: bool = typer.Option(False, '--hgs/--no-hgs', help='Use heliographic stonyhurst coordinates'), cea: bool = typer.Option(False, '--cea', help='Use CEA basemap projection'), top: bool = typer.Option(False, '--top', help='Use TOP-view basemap projection'), box_dims: Tuple[int, int, int] | None = typer.Option(None, '--box-dims', help='Box dims in pixels'), dx_km: float = typer.Option(1400.0, '--dx-km', help='Voxel size in km'), pad_frac: float = typer.Option(0.1, '--pad-frac', help='Padding fraction for FOV'), data_dir: str = typer.Option(DOWNLOAD_DIR, '--data-dir', help='SDO data directory'), gxmodel_dir: str = typer.Option(GXMODEL_DIR, '--gxmodel-dir', help='GX model output directory'), nlfff_lib: str | None = typer.Option(None, '--nlfff-lib', help='Override the WWNLFFFReconstruction shared library path for NAS and GEN stages'), download_backend: str | None = typer.Option(None, '--download-backend', help='Compatibility override: explicitly set downloader backend to fido or drms'), use_fido: bool = typer.Option(False, '--use-fido', help='Use the legacy SunPy/Fido downloader instead of the default DRMS backend'), drms_sequential: bool = typer.Option(False, '--drms-sequential', help='Force DRMS downloads to single-worker mode for maximum reliability'), force_download: bool = typer.Option(False, '--force-download', help='Bypass local cache hits and redownload requested SDO products'), entry_box: str | None = typer.Option(None, '--entry-box', help='Existing HDF5/SAV box'), save_empty_box: bool = typer.Option(False, '--save-empty-box', help='Save NONE stage'), save_potential: bool = typer.Option(False, '--save-potential', help='Save POT stage'), save_bounds: bool = typer.Option(False, '--save-bounds', help='Save BND stage'), save_nas: bool = typer.Option(False, '--save-nas', help='Save NAS stage'), save_gen: bool = typer.Option(False, '--save-gen', help='Save NAS.GEN stage'), save_chr: bool = typer.Option(False, '--save-chr', help='Save NAS.CHR stage'), stop_after: str | None = typer.Option(None, '--stop-after', help='Stop after stage (dl/none/pot/bnd/nas/gen/chr)'), empty_box_only: bool = typer.Option(False, '--empty-box-only', help='Stop after NONE'), potential_only: bool = typer.Option(False, '--potential-only', help='Stop after POT'), nlfff_only: bool = typer.Option(False, '--nlfff-only', help='Stop after NAS'), generic_only: bool = typer.Option(False, '--generic-only', help='Stop after NAS.GEN'), use_potential: bool = typer.Option(False, '--use-potential', help='Skip NLFFF'), skip_lines: bool = typer.Option(False, '--skip-lines', help='Skip GEN line computation and go directly to CHR'), center_vox: bool = typer.Option(False, '--center-vox', help='Trace lines through voxel centers'), reduce_passed: int | None = typer.Option(None, '--reduce-passed', min=0, max=3, help='Expert line tracing reduction bitmask: 0|1|2|3 (overrides --center-vox)'), euv: bool = typer.Option(False, '--euv', help='Download AIA EUV maps'), uv: bool = typer.Option(False, '--uv', help='Download AIA UV maps'), sfq: bool = typer.Option(False, '--sfq', help='Use SFQ disambiguation (method=0)'), observer_name: str = typer.Option('earth', '--observer-name', help='Observer identifier stored in output metadata'), fov_xc: float | None = typer.Option(None, '--fov-xc', help='Observer/image FOV center X in arcsec'), fov_yc: float | None = typer.Option(None, '--fov-yc', help='Observer/image FOV center Y in arcsec'), fov_xsize: float | None = typer.Option(None, '--fov-xsize', help='Observer/image FOV width in arcsec'), fov_ysize: float | None = typer.Option(None, '--fov-ysize', help='Observer/image FOV height in arcsec'), square_fov: bool = typer.Option(False, '--square-fov', help='Observer/image FOV is constrained square'), jump2potential: bool = typer.Option(False, '--jump2potential', help='Jump to POT'), jump2bounds: bool = typer.Option(False, '--jump2bounds', help='Jump to BND'), jump2nlfff: bool = typer.Option(False, '--jump2nlfff', help='Jump to NAS'), jump2lines: bool = typer.Option(False, '--jump2lines', help='Jump to GEN'), jump2chromo: bool = typer.Option(False, '--jump2chromo', help='Jump to CHR'), rebuild: bool = typer.Option(False, '--rebuild', help='Recompute from NONE using entry-box parameters'), rebuild_from_none: bool = typer.Option(False, '--rebuild-from-none', help='Start from entry-box NONE-equivalent and run forward'), info: bool = typer.Option(False, '--info', help='Show resolved defaults and exit'), reproject_algorithm: str = typer.Option('adaptive', '--reproject-algorithm', help="Reprojection algorithm for HMI cutouts onto model base grid: 'adaptive' (default, matches IDL wcs_remap/ssaa behaviour), 'exact' (flux-conserving, slower), or 'interpolation' (bilinear)"), reproject_scan: str | None = typer.Option(None, '--reproject-scan', help="Batch-run OBS->NONE once per reprojection algorithm. Use 'all' or a comma-separated list such as 'adaptive,exact,interpolation'. Each run writes to a gxmodel-dir/reproject_<algorithm> subdirectory."), refmaps_path: List[str] | None = typer.Option(None, '--refmaps-path', '--refmap-path', help='Directory of external FITS reference maps to add to model refmaps. May be repeated.')) None[source]