Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change nanomaggies to nanomaggy in targeting files #133

Merged
merged 6 commits into from
Jun 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 14 additions & 1 deletion doc/DESI_SURVEY/fiberassign/SURVEY/TILEXX/TILEID-gfa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,17 @@ HPXPIXEL int64 label for field 36
Notes and Examples
==================

*Add notes and examples here. You can also create links to example files.*
Some units in this file do not conform to the FITS standard:

* deg^-2 is incorrectly recorded as 1/deg^2
* nanomaggy^-2 is incorrectly recorded as 1/nanomaggy^2
* mas^-2 is incorrectly recorded as 1/mas^2

Such issues can typically be fixed by parsing the unit through astropy after reading in a Table, e.g.:

.. code-block:: python

import astropy.units as u
from astropy.table import Table
objs = Table.read(filename, 1)
u.Unit(str(objs["RA_IVAR"].unit))
13 changes: 12 additions & 1 deletion doc/DESI_SURVEY/fiberassign/SURVEY/TILEXX/TILEID-sky.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,15 @@ PLATE_DEC float64 label for field 24
Notes and Examples
==================

*Add notes and examples here. You can also create links to example files.*
Some units in this file do not conform to the FITS standard:

* nanomaggy^-2 is incorrectly recorded as 1/nanomaggy^2

Such issues can typically be fixed by parsing the unit through astropy after reading in a Table, e.g.:

.. code-block:: python

import astropy.units as u
from astropy.table import Table
objs = Table.read(filename, 1)
u.Unit(str(objs["FIBERFLUX_IVAR_G"].unit))
13 changes: 12 additions & 1 deletion doc/DESI_SURVEY/fiberassign/SURVEY/TILEXX/TILEID-targ.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,15 @@ PLATE_REF_EPOCH float32 label for field 63
Notes and Examples
==================

*Add notes and examples here. You can also create links to example files.*
Some units in this file do not conform to the FITS standard:

* nanomaggy^-2 is incorrectly recorded as 1/nanomaggy^2

Such issues can typically be fixed by parsing the unit through astropy after reading in a Table, e.g.:

.. code-block:: python

import astropy.units as u
from astropy.table import Table
objs = Table.read(filename, 1)
u.Unit(str(objs["FLUX_IVAR_Z"].unit))
13 changes: 12 additions & 1 deletion doc/DESI_SURVEY/fiberassign/SURVEY/TILEXX/TILEID-too.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,15 @@ PLATE_REF_EPOCH float64 label for field 32
Notes and Examples
==================

*Add notes and examples here. You can also create links to example files.*
Some units in this file do not conform to the FITS standard:

* d is incorrectly recorded as day

Such issues can typically be fixed by parsing the unit through astropy after reading in a Table, e.g.:

.. code-block:: python

import astropy.units as u
from astropy.table import Table
objs = Table.read(filename, 1)
u.Unit(str(objs["MJD_END"].unit))
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ PMRA float32 mas / yr Proper motion in
PMDEC float32 mas / yr Proper motion in the Dec direction
REF_EPOCH float32 yr Astrometric reference epoch. Defaults to 2015.5.
OVERRIDE bool If ``True`` do not match to and accept an existing primary target. Instead, always generate a new ``TARGETID``.
FLUX_G float32 nanomaggies `LS`_ flux from tractor input (g)
FLUX_R float32 nanomaggies `LS`_ flux from tractor input (r)
FLUX_Z float32 nanomaggies `LS`_ flux from tractor input (z)
FLUX_G float32 nanomaggy `LS`_ flux from tractor input (g)
FLUX_R float32 nanomaggy `LS`_ flux from tractor input (r)
FLUX_Z float32 nanomaggy `LS`_ flux from tractor input (z)
PARALLAX float32 mas Reference catalog parallax
GAIA_PHOT_G_MEAN_MAG float32 mag `Gaia`_ G band magnitude
GAIA_PHOT_BP_MEAN_MAG float32 mag `Gaia`_ BP band magnitude
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ PMRA float32 mas / yr Proper motio
PMDEC float32 mas / yr Proper motion in the Dec direction
REF_EPOCH float32 yr Astrometric reference epoch. Typically 2015.5.
OVERRIDE bool If ``True`` do not match to and accept an existing primary target. Instead, always generate a new ``TARGETID``
FLUX_G float32 nanomaggies `LS`_ flux from tractor input (g)
FLUX_R float32 nanomaggies `LS`_ flux from tractor input (r)
FLUX_Z float32 nanomaggies `LS`_ flux from tractor input (z)
FLUX_G float32 nanomaggy `LS`_ flux from tractor input (g)
FLUX_R float32 nanomaggy `LS`_ flux from tractor input (r)
FLUX_Z float32 nanomaggy `LS`_ flux from tractor input (z)
PARALLAX float32 mas Reference catalog parallax
GAIA_PHOT_G_MEAN_MAG float32 mag `Gaia`_ G band magnitude
GAIA_PHOT_BP_MEAN_MAG float32 mag `Gaia`_ BP band magnitude
Expand Down
14 changes: 7 additions & 7 deletions doc/DESI_TARGET/TARG_DIR/DR/VERSION/gfas/gfas-hp-HP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ RA_IVAR float32 deg**-2 Right ascension
DEC_IVAR float32 deg**-2 Declination inverse variance
MORPHTYPE char[4] `Morphological Model`_ type
MASKBITS int16 Bitmask for ``coadd/*/*/*maskbits*`` maps, as on the `LS DR9 bitmasks page`_
FLUX_G float32 nanomaggies `LS`_ flux from tractor input (g)
FLUX_R float32 nanomaggies `LS`_ flux from tractor input (r)
FLUX_Z float32 nanomaggies `LS`_ flux from tractor input (z)
FLUX_IVAR_G float32 nanomaggies**-2 Inverse Variance of FLUX_G
FLUX_IVAR_R float32 nanomaggies**-2 Inverse Variance of FLUX_R
FLUX_IVAR_Z float32 nanomaggies**-2 Inverse Variance of FLUX_Z
FLUX_G float32 nanomaggy `LS`_ flux from tractor input (g)
FLUX_R float32 nanomaggy `LS`_ flux from tractor input (r)
FLUX_Z float32 nanomaggy `LS`_ flux from tractor input (z)
FLUX_IVAR_G float32 nanomaggy**-2 Inverse Variance of FLUX_G
FLUX_IVAR_R float32 nanomaggy**-2 Inverse Variance of FLUX_R
FLUX_IVAR_Z float32 nanomaggy**-2 Inverse Variance of FLUX_Z
REF_ID int64 Tyc1*1,000,000+Tyc2*10+Tyc3 for `Tycho-2`_; "sourceid" for `Gaia`_ DR2
REF_CAT char[2] Reference catalog source for star: "T2" for `Tycho-2`_, "G2" for `Gaia`_ DR2, "L2" for the `SGA`_, empty otherwise
REF_EPOCH float32 yr Reference epoch for Gaia/Tycho astrometry. Typically 2015.5 for Gaia.
Expand Down Expand Up @@ -129,7 +129,7 @@ Notes
Some units in this file do not conform to the FITS standard:

* deg^-2 is incorrectly recorded as 1/deg^2
* nanomaggies^-2 is incorrectly recorded as 1/nanomaggy^2
* nanomaggy^-2 is incorrectly recorded as 1/nanomaggy^2
* mas^-2 is incorrectly recorded as 1/mas^2

Such issues can typically be fixed by parsing the unit through astropy after reading in a Table, e.g.:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ PSFDEPTH_W2 float32 PSF-based depth in WISE W2 (AB mag system)
PSFSIZE_G float32 arcsec Weighted average PSF FWHM in `LS`_ g
PSFSIZE_R float32 arcsec Weighted average PSF FWHM in `LS`_ r
PSFSIZE_Z float32 arcsec Weighted average PSF FWHM in `LS`_ z
APFLUX_G float32 nanomaggies Total flux extracted in a 0.75 arcsec radius in g
APFLUX_R float32 nanomaggies Total flux extracted in a 0.75 arcsec radius in r
APFLUX_Z float32 nanomaggies Total flux extracted in a 0.75 arcsec radius in z
APFLUX_IVAR_G float32 nanomaggies^-2 Inverse variance of APFLUX_G
APFLUX_IVAR_R float32 nanomaggies^-2 Inverse variance of APFLUX_R
APFLUX_IVAR_Z float32 nanomaggies^-2 Inverse variance of APFLUX_Z
APFLUX_G float32 nanomaggy Total flux extracted in a 0.75 arcsec radius in g
APFLUX_R float32 nanomaggy Total flux extracted in a 0.75 arcsec radius in r
APFLUX_Z float32 nanomaggy Total flux extracted in a 0.75 arcsec radius in z
APFLUX_IVAR_G float32 nanomaggy^-2 Inverse variance of APFLUX_G
APFLUX_IVAR_R float32 nanomaggy^-2 Inverse variance of APFLUX_R
APFLUX_IVAR_Z float32 nanomaggy^-2 Inverse variance of APFLUX_Z
MASKBITS int16 Bit mask of possible problems with pixel (see the LS `DR9 bitmasks page`_)
WISEMASK_W1 uint8 Bitwise mask for WISE W1 data (see the LS `DR9 bitmasks page`_)
WISEMASK_W2 uint8 Bitwise mask for WISE W2 data (see the LS `DR9 bitmasks page`_)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ PSFDEPTH_W2 float32 PSF-based depth in WISE W2 (AB mag system)
PSFSIZE_G float32 arcsec Weighted average PSF FWHM in `LS`_ g
PSFSIZE_R float32 arcsec Weighted average PSF FWHM in `LS`_ r
PSFSIZE_Z float32 arcsec Weighted average PSF FWHM in `LS`_ z
APFLUX_G float32 nanomaggies Total flux extracted in a 0.75 arcsec radius in g
APFLUX_R float32 nanomaggies Total flux extracted in a 0.75 arcsec radius in r
APFLUX_Z float32 nanomaggies Total flux extracted in a 0.75 arcsec radius in z
APFLUX_IVAR_G float32 nanomaggies^-2 Inverse variance of APFLUX_G
APFLUX_IVAR_R float32 nanomaggies^-2 Inverse variance of APFLUX_R
APFLUX_IVAR_Z float32 nanomaggies^-2 Inverse variance of APFLUX_Z
APFLUX_G float32 nanomaggy Total flux extracted in a 0.75 arcsec radius in g
APFLUX_R float32 nanomaggy Total flux extracted in a 0.75 arcsec radius in r
APFLUX_Z float32 nanomaggy Total flux extracted in a 0.75 arcsec radius in z
APFLUX_IVAR_G float32 nanomaggy^-2 Inverse variance of APFLUX_G
APFLUX_IVAR_R float32 nanomaggy^-2 Inverse variance of APFLUX_R
APFLUX_IVAR_Z float32 nanomaggy^-2 Inverse variance of APFLUX_Z
MASKBITS int16 Bit mask of possible problems with pixel (see the LS `DR9 bitmasks page`_)
WISEMASK_W1 uint8 Bitwise mask for WISE W1 data (see the LS `DR9 bitmasks page`_)
WISEMASK_W2 uint8 Bitwise mask for WISE W2 data (see the LS `DR9 bitmasks page`_)
Expand Down