Error running true_color

Post Reply
weather01089
Posts: 5
Joined: Mon Jun 19, 2017 8:46 pm

Error running true_color

Post by weather01089 »

Running the RadC image with this command to get a truecolor:

./geo2grid.sh -vvv -r abi_l1b -w geotiff --ll-bbox -73.95 40.0 -69.42 43.48 -f /home/awips/data/*RadC*.nc -p true_color

I get the following error:

File "/home/awips/cspp-geo/cspp-geo2grid/geo2grid_v_1_0_0/lib/python3.6/site-packages/pyresample/geometry.py", line 1128, in get_proj_vectors_dask
target_y = da.arange(self.y_size, chunks=y_chunks, dtype=dtype) * - \
File "/home/awips/cspp-geo/cspp-geo2grid/geo2grid_v_1_0_0/lib/python3.6/site-packages/dask/array/creation.py", line 305, in arange
chunks = normalize_chunks(chunks, (num,))
File "/home/awips/cspp-geo/cspp-geo2grid/geo2grid_v_1_0_0/lib/python3.6/site-packages/dask/array/core.py", line 2015, in normalize_chunks
"Got chunks=%s, shape=%s" % (chunks, shape))
ValueError: Chunks do not add up to shape. Got chunks=((1024, 1024, 1024, 1024, 1024, 880, 1024, 1024, 1024, 1024, 1024, 880, 1024, 1024, 1024, 1024, 1024, 880, 1024, 1024, 1024, 1024, 1024, 880, 1024, 1024, 1024, 1024, 1024, 880),), shape=(6000,)


Note natural_color works

Thanks!

Ray Weber
MA Skywarn
kathys
Posts: 487
Joined: Tue Jun 22, 2010 4:51 pm

Re: Error running true_color

Post by kathys »

Hello Ray,

Sorry that you are having problems. We just executed your geo2grid.sh subset command on a local file and had no problems producing true color imagery from RadC files. Can you please upload the full log file that was produced from your failed execution so that we can investigate further?

Kathy
weather01089
Posts: 5
Joined: Mon Jun 19, 2017 8:46 pm

Re: Error running true_color

Post by weather01089 »

I found the issue. It needs to have ALL the channels it needs in the filenames sent to it, either explicit filenames, or wildcards that cover the needed channels.
Correcting that fixed it.

Thanks!

Ray
Post Reply