Page 1 of 1

Creating images from multiple datasets at the same time

Posted: Fri Mar 08, 2024 12:25 pm
by kathys
Hi,

I am working on multiple Himawari-8 files (5 bands every 10 minutes, 5 hours each day, 2 days per month, and 12months per year). I need to convert all these HSD files to GeoTIFF. I am using the code below, however, only five band files are produced despite using multiple files as input. Is there a way to produce multiple band files (for example, multiple B01C) for different dates and times at once?

Code:
PATH/geo2grid.sh -r ahi_hsd -w geotiff -p B01C B02C B03C B04C B05C -f PATHTOBANDS

Thanks
- Joanne

Re: Creating images from multiple datasets at the same time

Posted: Fri Mar 08, 2024 3:06 pm
by scottlindstrom
Hi Joanne, I'll try to answer this.

I don't know what 'B01C' refers to. When I use geo2grid with HSD files, I typically (for band 1) would specify B01. Also when I use geo2grid I specify only one time, i.e., something like ahi/2024/2024_03_08_068/1200/*B03*FLDK*.DAT for all full disk Band 3 images from 1200 UTC on 8 March 2024.

To simplify access to multiple days, I'll put it all in a shell script, such as

for i in 0000 0100 0200 0300 0400 0500 0600 0700 0800 0900 1000 1100 1200 1300 1400 1500 1600 1700 1800 1900 2000 2100 2200 2300
do
../geo2grid.sh -r ahi_hsd -w geotiff -p airmass -g bigwaves --grid-config bigwaves.yaml -f /pathtohimawari09/ahi/2024/2024_02_09_040/$i/*FLDK*.DAT
done

And nesting it for multiple days, etc.

Re: Creating images from multiple datasets at the same time

Posted: Fri Mar 08, 2024 9:32 pm
by joanneb
Hi Scott

Thank you for this! Will try to add this to the script im working on.

Joanne