Closed yqin123 closed 1 year ago
Thanks Yiren, let's try this: Stop the 01-run.sh
script before ELMFIRE is called, i.e. add the line exit 0
immediately before elmfire_$ELMFIRE_VER ./inputs/elmfire.data
.
Then execute 01-run.sh
, which will create the requisite inputs and exit before calling ELMFIRE. After that, make the same gdal_translate
call from the command line that ELMFIRE is doing internally, i.e.:
/cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen2/gcc-9.4.0/gdal-3.4.0-2lfwxvv4yfehlamhc5zraivmeu4hbxdi/bin/gdal_translate -of ENVI -co "INTERLEAVE=BSQ" ./inputs/asp.tif ./scratch/asp.bsq
What is the directory listing of ./scratch/
? If the file asp.bsq.aux.xml
exists there, can you past its contents here? Thanks.
Thank you, Chris! I run the commands but asp.bsq.aux.xml
does not show up. The files inside the directory scratch
includes:
login-2:scratch$ ls asp.bsq asp.hdr dummy.tif dummy.xyz float.tif int.tif
By running gdal_translate, I got:
login-2:01-constant-wind$ /cvmfs/hpcsw.umd.edu/spack-software/2022.06.15/linux-rhel8-zen2/gcc-9.4.0/gdal-3.4.0-2lfwxvv4yfehlamhc5zraivmeu4hbxdi/bin/gdal_translate -of ENVI -co "INTERLEAVE=BSQ" ./inputs/asp.tif ./scratch/asp.bsq Input file size is 400, 400 0...10...20...30...40...50...60...70...80...90...100 - done.
Interesting. What is the output of gdal_translate --version
?
Actually, I think I know what the problem is. Try setting the environment variable GDAL_PAM_ENABLED
to YES
. If you're shell is bash, that would be export GDAL_PAM_ENABLED=YES
. Then try the gdal_translate
command above to see if the asp.bsq.aux.xml
file gets generated. If it does then you should be in business.
It works! Thank you, Chris!
An error occurs when running tutorial case 1. Here is the log information.
Looks like there is some issue with opening the weather/topography inputs or preprocessing them. I changed the PATH_TO_GDAL in the file "elmfire.data.in". And here is how I configured the installation:
All other processes follow the instruction in the documentation.