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.
Search found 25 matches
- Mon Sep 24, 2018 7:12 pm America/New_York
- Forum: Home
- Question: Help with Aqua/Terra MODIS RGB 250 m
- Replies: 14
- Mon Sep 24, 2018 5:40 pm America/New_York
- Forum: Home
- 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
~ # 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
- Mon Sep 24, 2018 3:09 pm America/New_York
- Forum: Home
- 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...
- Mon Sep 24, 2018 2:28 pm America/New_York
- Forum: Home
- 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...
- Fri Sep 21, 2018 11:43 am America/New_York
- Forum: Home
- 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...