UMM-C for C2102893021-NOAA_NCEI drops the temporal extent of its ISO 19115 record (1994-02-01 to now)

Abierto
#2,547 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
56/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
clojure
Área
backend

Línea de trabajo

Reproduce by requesting the .native and .umm_json_v1_18_7 representations of C2102893021-NOAA_NCEI and diffing the temporal blocks, as the issue does. Then locate the ISO 19115 to UMM-C conversion in the umm-spec library and find where gmd:temporalElement / gml:TimePeriod is read into TemporalExtents, checking why BeginDate and EndsAtPresentFlag are lost; the reverse UMM-C to ISO generation is a useful reference for the expected mapping. Done means the converted record carries RangeBeginningDate of 1994-02-01 with EndsAtPresentFlag: true, covered by a conversion test using a fixture with an indeterminate now end position.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The native ISO 19115 record of C2102893021-NOAA_NCEI gives a temporal extent that begins on 1994-02-01 and ends now, but the collection's UMM-C has a TemporalExtents item without either. The output below is from 2026-11-23.

$ curl -sS 'https://cmr.earthdata.nasa.gov/search/concepts/C2102893021-NOAA_NCEI.native' | sed -n '/<gmd:temporalElement>/,/<\/gmd:temporalElement>/p'
               <gmd:temporalElement>
                  <gmd:EX_TemporalExtent id="boundingTemporalExtent">
                     <gmd:extent>
                        <gml:TimePeriod gml:id="tp_114854.81883">
                           <gml:begin>
                              <gml:TimeInstant gml:id="start_114854.81883">
                                 <gml:timePosition>1994-02-01</gml:timePosition>
                              </gml:TimeInstant>
                           </gml:begin>
                           <gml:end>
                              <gml:TimeInstant gml:id="end_114854.81883">
                                 <gml:timePosition indeterminatePosition="now"/>
                              </gml:TimeInstant>
                           </gml:end>
                        </gml:TimePeriod>
                     </gmd:extent>
                  </gmd:EX_TemporalExtent>
               </gmd:temporalElement>
$ curl -sS 'https://cmr.earthdata.nasa.gov/search/concepts/C2102893021-NOAA_NCEI.umm_json_v1_18_7' | jq -c .TemporalExtents
[{"EndsAtPresentFlag":false}]

Expected: a TemporalExtents item whose range begins on 1994-02-01, with EndsAtPresentFlag set to true, as the native record says.

Lenguaje dominante
Clojure
Estrellas
403
Forks
111
Merge medio
2 d 4 h
PR fusionados (30 d)
13

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nasa/Common-Metadata-Repository

Todos los issues de nasa/Common-Metadata-Repository

Issues similares

Más issues de Clojure

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.