Esri / wind-js

An demo animation of wind on a Canvas layer in the JSAPI
MIT License
735 stars 214 forks source link

rendering json file upside down #38

Closed hbriga closed 3 years ago

hbriga commented 3 years ago

Not sure if this is a bug or something that I am doing wrong. Got a grib2 file from NOOA widh u and v variable. Grib file opens ok in another sw (xygrib). Grib file was converted to json using grib2json utility. When file is rendered on wind-js, latitude is upside down. longitude looks fine. Sugestions? Please see attached 6 print-screens, they are:

  1. nooa grib selection criteria;
  2. grib2 file (remove .txt extension)
  3. grib2json command;
  4. gfs.json result file (remove .txt extension)
  5. xygrib rendering output;
  6. wind-js rending output.

1 nooa-grib2-selection 2 gfs.t00z.pgrb2.1p00.f000.txt 3 grib2json cmd 4.gfs.json.txt 5 xygrib-screen 6 wind-js-screen

hbriga commented 3 years ago

found the issue in the json file. it is working fine now.