mirror of https://github.com/ecmwf/eccodes.git
Testing: grib_copy_key (arrays)
This commit is contained in:
parent
05de92a8f1
commit
bacaabd32f
|
@ -51,7 +51,7 @@ int main(int argc, char* argv[])
|
||||||
fclose(in);
|
fclose(in);
|
||||||
|
|
||||||
for (i = 0; i < keys_count; i++) {
|
for (i = 0; i < keys_count; i++) {
|
||||||
printf("Copy key: %s\n", keys[i]);
|
printf("Copying key: %s\n", keys[i]);
|
||||||
err = codes_copy_key(hfrom, hto, keys[i], GRIB_TYPE_UNDEFINED);
|
err = codes_copy_key(hfrom, hto, keys[i], GRIB_TYPE_UNDEFINED);
|
||||||
CODES_CHECK(err, 0);
|
CODES_CHECK(err, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue