Skip to main content

Dear FME-Users,

 

 

I’d like to create JSON-files which describes some metadata of NetCDF input data.

 

 

It works well when I use the “RasterToPolygonCoercer” before, but this transformer takes a lot of time. Without conversion to vector data the JSON-file doesn’t describe the metadata of every single pixel, even by using “RasterCellCoecer”.

 

 

Please take a look in the attachment, there are 2 screenshots of 2 JSON-files.

 

 

Necessary is that every cell value of the input data is listed in the JSON-file.

 

 

Maybe it works with the “JSONTemplater”, but I don’t have any experience with this transformer.

 

 

If you have some ideas, it makes me happy. :)

 

 

Thank you very much and best regards.

 

 

Konrad

Hi @UBA_KP, probably the JSONTemplater could be the right way, but the configuration of the parameters should be considered according to your desired contents and structure to be written in the JSON document.


Yes the JSONTemplater is the way to go as @takashi mention.

Is it possible for you to add the desired JSON document schema to the post? in your attachment ( netcdfjson-raster.png) it is not clear what is the tag in JSON for the raster cell values.



Reply