Generalizing tiling operations
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comienza leyendo gmt_data_server y la ruta de carga de GMT_Create_Session; después, sigue gmtlib_file_is_srtmrequest, gmtlib_get_srtmlist y gmtlib_assemble_srtm. Se considerará terminado cuando el flujo de teselado esté especificado para conjuntos de datos y tamaños de tesela arbitrarios, con una cuadrícula tiles.nc estandarizada y valores predeterminados para el fondo; también es necesario resolver la elección de nomenclatura del océano.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
These nots are mostly to myself to clarify how I did the tiling blending, but also for GMT contributes to comment on in case I am proposing the wrong path.
Currently, we only offer two tiled data sets: SRTM1s and SRTM3s. THey are not available everywhere (land only) so we also have a tiny srtm_tiles.nc grid that is true/false if a tile exist. Here is how GMT handles a request like gmt grdimage @earth_relief_01s -RFR -JM20c -B -pdf map:
- During module initialization (gmt_init_module) we call gmtlib_file_is_srtmrequest. It checks if this is one of the two earth_relief_01|3s files, and if so it sets ocean to true if we gave earth_relief instead of srtm_relief as the name. If not then we are done.
- Next, gmtlib_get_srtmlist is called. It builds the list of tile file names needed. To do this it uses the region (-R) rounded outwards to nearest tile size (here 1 degree). It then loops over all the imaginary tiles needed but if the relevant node in the grid srtm_tiles.nc is false we skip it since that tile is not present on the server. If ocean was determined to be true then we also add the file earth_relief_15s as the last file. The listfile is called =srtm##### (random unique ints) and placed in the temp dir. Its path is then used to replace the initial @earth_relief_01|3s file given to the module.
- When the grid is accessed by GMT_Read_Data, we recognize the gridname using the gmtlib_file_is_srtmlist function, and if true then we call gmtlib_assemble_srtm which passes the list of tiles to grdblend. The resulting grid is passed back out to the module
All this works fine, but we need to generalize this to work for any dataset with any tile size, etc. This means we must
- Use the dataset name (without _xxy) to mean a directory with tiles (instead of special names like srtm1). E.g., if we tiled the 15s grid then inside eart/earth_relief there would be a directory earth_relief_15s and no earth_relief_15s_p.grd file.
- Let the tile size be a variable
- Standardize the name of the tiles.nc grid
- Generalize the notion of a background default grids for areas with no tiles.
I think the information needed to do this simply goes into the gmt_data_server file which is loaded into memory during GMT_Create_Session.
We may also consider not doing the with or without ocean options since that means different input names.
- Lenguaje dominante
- Shell
- Estrellas
- 7
- Forks
- 3
- Merge medio
- 9 h 22 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GenericMappingTools/gmtserver-admin
-
Release of GEBCO 2026Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
GenericMappingTools/gmtserver-admin#295 · 10 comentarios ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
GenericMappingTools/gmtserver-admin#297 · 21 comentarios ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 20/100
GenericMappingTools/gmtserver-admin#289 · 1 comentario ·
-
SWOT Gravimetry dataQuizá libre de nuevo @Esteban82 la tomó hace 544 días y no hay ningún pull request abierto. Abiertodocumentation
GenericMappingTools/gmtserver-admin#271 · 40 comentarios · 1 reacción · 1 asignado ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
GenericMappingTools/gmtserver-admin#257 · 9 comentarios ·
Todos los issues de GenericMappingTools/gmtserver-admin
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 71/100
t4t5/omdrop-owl#14 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
docs(evals): note CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS for headless eval runs that use workflowsAbiertogood first issue needs-triage priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
melodic-software/claude-code-plugins#7022 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug(backend): `make test-update` in backend/src/v2 fails because the --update flag was removedAbiertoready
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
kubeflow/pipelines#14784 · 1 comentario ·
Los mantenedores suelen responder en 2 días