Question

Create JSON-files from NetCDF-data

  • 25 April 2017
  • 2 replies
  • 13 views

Badge

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


2 replies

Userlevel 2
Badge +17

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.

Badge +16

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