Skip to content

Creating specgrid from own synthetic spectra grids #27

@spacefox-101

Description

@spacefox-101

Hello,

I have a bunch of synthetic spectra that I have created for my science case. I wanted to know if it is possible to create a specgrid out of those synthetic spectra. I tried the tutorial on "https://msg.readthedocs.io/en/stable/user-guide/data-files.html" and when I create the specint files the labels are registered but when I create the specgrid file from the .txt file with all the specint file list the specgrid file fails to retain the axis labels from specint files.

The commands that I have been using are:

  1. for ascii_to_specint:

$MSG_DIR/bin/ascii_to_specint ~/t4530_g+3.00_z-4.00_a+0.00_v00.13_x13+0.05.mod ~/specint002.h5 --label=teff:4530 --label=logg:3.0 --label=z:-4.0

  1. for specint_to_specgrid:

$MSG_DIR/bin/specint_to_specgrid manifest.txt specgrid.h5 --grid-label=teff --grid-label=logg --grid-label=z

(I tried with and without the gird-label option but to no avail)

Please let me know if there is something that I need to do/can be done with this aspect.

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions