Search found 26 matches

by jvaldezch
Wed Sep 26, 2018 3:15 pm America/New_York
Forum: Questions/Comments
Question: Help with Aqua/Terra MODIS RGB 250 m
Replies: 14

Help with Aqua/Terra MODIS RGB 250 m

Hi Norman,Not sure if doing the right thing, but I'm still gettin blak images, here are my steps:perl -e 'open X,"lon" or die;open Y,"lat" or die;open Z,"'rhos_469_q'" or die;while(read(Z,$z,4)){read(X,$x,4);read(Y,$y,4);print $x,$y,$z}' > rhos_469_q...
by jvaldezch
Mon Sep 24, 2018 7:12 pm America/New_York
Forum: Questions/Comments
Question: Help with Aqua/Terra MODIS RGB 250 m
Replies: 14

Help with Aqua/Terra MODIS RGB 250 m

Hi Norman,

I found the issue. I have to change this line:

echo "P5\n7732 7733\n65535"|cat - nak.dat>$i.16bit.log.pgm

Into this:

echo $'P5\n7732 7733\n65535'|cat - nak.dat>$i.16bit.log.pgm

Now I got some black images but I think this is due coordinates.
by jvaldezch
Mon Sep 24, 2018 5:40 pm America/New_York
Forum: Questions/Comments
Question: Help with Aqua/Terra MODIS RGB 250 m
Replies: 14

Help with Aqua/Terra MODIS RGB 250 m

Norman, here is the output:

~ # ls -l rhos_645_q.16bit.log.pgm
-rw-r--r-- 1 jvaldez jvaldez 154730541 Sep 24 16:37 rhos_645_q.16bit.log.pgm
~ # head -1 rhos_645_q.16bit.log.pgm
P5\n8862 8730\n65535
by jvaldezch
Mon Sep 24, 2018 3:09 pm America/New_York
Forum: Questions/Comments
Question: Help with Aqua/Terra MODIS RGB 250 m
Replies: 14

Help with Aqua/Terra MODIS RGB 250 m

Both commands are showing the same error:~ # display rhos_555_q.16bit.log.pgm display: negative or zero image size `rhos_555_q.16bit.log.pgm' @ error/pnm.c/ReadPNMImage/434.~ # identify rhos_555_q.16bit.log.pgm identify: negative or zero image size `rhos_555_q.16bit.log.pgm' @ error/pnm.c/Re...
by jvaldezch
Mon Sep 24, 2018 2:28 pm America/New_York
Forum: Questions/Comments
Question: Help with Aqua/Terra MODIS RGB 250 m
Replies: 14

Help with Aqua/Terra MODIS RGB 250 m

Thanks Norman. I'm following your steps as shown on post but I'm stuck at convert. I'm getting the following error:convert: negative or zero image size `rhos_645_q.16bit.log.pgm' @ error/pnm.c/ReadPNMImage/434.convert: negative or zero image size `rhos_555_q.16bit.log.pgm' @ erro...
by jvaldezch
Fri Sep 21, 2018 11:43 am America/New_York
Forum: Questions/Comments
Question: Help with Aqua/Terra MODIS RGB 250 m
Replies: 14

Help with Aqua/Terra MODIS RGB 250 m

Hi, I have been using l1mapgen to produce some Aqua/Terra MODIS RGB from L1b level with 250 m resolution but I'm getting some wierd results.Red arrows marking wierd artifacts This is the command used:l1mapgen ifile=A2018227192500.L1B_LAC geofile=A2018227192500.GEO resolution=250 ofile=A201822719...