rweigel / cdawmeta

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bad FORM_PTR VOYAGER*/Channel #11

Open rweigel opened 3 months ago

rweigel commented 3 months ago

These variables have a FORM_PTR that points to an array of labels not an array of fortran format strings:

https://hapi-server.org/meta/cdaweb/variable/#datasetID=VOYAGER&VariableName=Channel

berniegsfc commented 3 months ago

The master skeleton cdf looks ok to me. It has LABLAXIS and FORMAT attributes for each variable.

rweigel commented 3 months ago

The link had a problem. You should have seen

Screen Shot 2024-08-26 at 9 32 25 AM

The all have FORM_PTR to a variable that is a label, e.g., Electrons_LABL_1.

In https://cdaweb.gsfc.nasa.gov/pub/software/cdawlib/0JSONS/voyager1_pls_electrons_e1_00000000_v01.json

I see Electrons_LABL_1 has VarData

["10   - 14,5.............","14.5 - 19.3.............","19.3 - 24.5.............","24.5 - 30...............","30   - 36...............","36   - 42.4.............","42.4 - 49.3.............","49.3 - 56.7.............","56.7 - 64.7.............","64.7 - 73.2.............","73.2 - 82.4.............","82.4 - 92.3.............","92.3 - 102.9............","102.9 - 114.3...........","114.3 - 126.6...........","126.6 - 139.7..........."]}]

which are not format strings. This variable also has both FORMAT and FORM_PTR, but https://spdf.gsfc.nasa.gov/istp_guide/vattributes.html#FORM_PTR

berniegsfc commented 3 months ago

Seems like an issue for Tamara.J.Kovalick@nasa.gov.

rweigel commented 3 months ago

OK. For completeness, it seems like Variable DSCOVR_H1_FC/Time_PB5 has both FORMAT and FORM_PTR attributes