Is there anyway of viewing the user modified terrain file Terrain.ASC in Hysplit. I have modified the ASCDATA.CFG file for the domain of my interest and used the terrain data for this area. How can I ensure that the model uses this data and how to view it with the concentration results..
Can Hysplit use higher resolution terrain data other than that supplied with bdyfiles?
Please help.
Terrain file viewing
-
- Posts: 22
- Joined: November 20th, 2012, 12:46 am
- Registered HYSPLIT User: Yes
-
- Posts: 660
- Joined: November 7th, 2012, 3:14 pm
- Registered HYSPLIT User: Yes
Re: Terrain file viewing
Please find attached the fortran code to read the .ASC and convert them to the concentration formatted files. You can use any of the visualization tools that HYSPLIT offers to create a graphic.
Please rename the attachment to a .f extension
Below is the content of a makefile you can use to compile the program:
SHELL = /bin/sh
PGM=bdy2bin
EXE=.
SUN5 = -O -free
AIXC = -O3
AIX8 = -O3 -qarch=auto -qmaxmem=8192 -qstrict
AIX6 = -O -qarch=com -qmaxmem=8192
AIX5 = -O -qarch=com -qmaxmem=8192
AIX4 = -O -qarch=pwr2 -qmaxmem=8192
AIX3 = -O -qcharlen=3072 -Pv -Wp,-gv
DEC3 = -O -assume byterecl
SGI5 = -O -bytereclen -freeform
SGI3 = -O -old_rl
ABSF = -O1 -f free
PGF9 = -O -Mfree -byteswapio
INTL = -O -FR -assume byterecl -convert big_endian -I.
GF95 = -O2 -fendian=big -ffree-form
GFOR = -O2 -fconvert=big-endian -frecord-marker=4 -ffree-form
CFLAGS = $(GFOR)
FC = gfortran
$(PGM) : $(PGM).f
$(FC) -o $(EXE)/$@ $(CFLAGS) $?
clean :
rm -f $(EXE)/$(PGM)
Please rename the attachment to a .f extension
Below is the content of a makefile you can use to compile the program:
SHELL = /bin/sh
PGM=bdy2bin
EXE=.
SUN5 = -O -free
AIXC = -O3
AIX8 = -O3 -qarch=auto -qmaxmem=8192 -qstrict
AIX6 = -O -qarch=com -qmaxmem=8192
AIX5 = -O -qarch=com -qmaxmem=8192
AIX4 = -O -qarch=pwr2 -qmaxmem=8192
AIX3 = -O -qcharlen=3072 -Pv -Wp,-gv
DEC3 = -O -assume byterecl
SGI5 = -O -bytereclen -freeform
SGI3 = -O -old_rl
ABSF = -O1 -f free
PGF9 = -O -Mfree -byteswapio
INTL = -O -FR -assume byterecl -convert big_endian -I.
GF95 = -O2 -fendian=big -ffree-form
GFOR = -O2 -fconvert=big-endian -frecord-marker=4 -ffree-form
CFLAGS = $(GFOR)
FC = gfortran
$(PGM) : $(PGM).f
$(FC) -o $(EXE)/$@ $(CFLAGS) $?
clean :
rm -f $(EXE)/$(PGM)
- Attachments
-
- bdy2bin.txt
- fortran code
- (2.19 KiB) Downloaded 497 times
Re: Terrain file viewing
Thanks, I did that and it worked; it helps a lot to be able to extract and view terrain files for our meteorology class!