update / rename some test files

Aperta
#184 5 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@ocefpaf ci sta già lavorando.

Dal 21/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

What should we add?

I'm not sure how to update the collection of test files that we. access with Pooch.

But:

small_ugrid_zero_based.nc needs to be replaced with:

https://github.com/NOAA-ORR-ERD/gridded/blob/main/gridded/tests/test_data/small_ugrid_zero_based.nc

It was missing a variable that led to Warnings when we ran the tests.

And

unknown_2D-rtofs_example.nc

should be renamed to:

quad_grid_2D-rtofs_example.nc

as it's a grid of quads, defined by 2D lat and lon.

(though we should get / make a better one at some point)

Also -- with that one:

Dims are "x", "y", but coord variables are "lat", "lon".

CF compliance requires name of dim and coord to be the same -- is this intentionally non-compliant?

In any case, xarray_subset_grid isn't getting confused, so it's probably fine.

Reference

No response

Lingua principale
Python
Stelle
9
Fork
13
Merge medio
3g 7h
PR unite (30g)
10

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ioos/xarray-subset-grid

Tutte le issue di ioos/xarray-subset-grid

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.