| 29 | |
| 30 | ---- |
| 31 | '''Update, using this example to import band and dimension metadata in general recipe''' |
| 32 | |
| 33 | |
| 34 | {{{ |
| 35 | "metadata": { |
| 36 | "type": "xml", |
| 37 | "global": { |
| 38 | "description": "'This file has 3 different nodata values for bands and they could be fetched implicitly.'", |
| 39 | "resolution": "'1'" |
| 40 | }, |
| 41 | // metadata of each band |
| 42 | "bands": { |
| 43 | "red": { |
| 44 | "metadata1": "metadata_red1", |
| 45 | "metadata2": "metadata_red2" |
| 46 | }, |
| 47 | "green": { |
| 48 | "metadata3": "metadata_green3", |
| 49 | "metadata4": "metadata_green4" |
| 50 | }, |
| 51 | "blue": { |
| 52 | "metadata5": "metadata_blue5" |
| 53 | } |
| 54 | }, |
| 55 | // meta data of each dimension (axis) |
| 56 | "axes": { |
| 57 | "i": { |
| 58 | "metadata_i_1": "metadata_1", |
| 59 | "metadata_i_2": "metadata_2" |
| 60 | }, |
| 61 | "j": { |
| 62 | "metadata_j_1": "metadata_3" |
| 63 | } |
| 64 | } |
| 65 | }, |
| 66 | }}} |
| 67 | |
| 68 | |
| 69 | |