[Dart-dev] DART/branches Revision: 12894

dart at ucar.edu dart at ucar.edu
Thu Oct 4 14:30:51 MDT 2018


hendric at ucar.edu
2018-10-04 14:30:51 -0600 (Thu, 04 Oct 2018)
264

adding additional files to build and run filter.  put code in
to call the forward operator.  updated BUILDME to reflect 
updates to the nasa ftp surver and changes to the hdfeos
library.  filter compiles and runs for wrf but does not give 
the correct radiance.




Modified: DART/branches/radiance/models/wrf/work/input.nml
===================================================================
--- DART/branches/radiance/models/wrf/work/input.nml	2018-10-03 15:13:15 UTC (rev 12893)
+++ DART/branches/radiance/models/wrf/work/input.nml	2018-10-04 20:30:51 UTC (rev 12894)
@@ -116,6 +116,7 @@
     output_obs_def_mod_file = '../../../observations/forward_operators/obs_def_mod.f90',
    input_files              = '../../../observations/forward_operators/obs_def_reanalysis_bufr_mod.f90',
                               '../../../observations/forward_operators/obs_def_radar_mod.f90',
+                              '../../../observations/forward_operators/obs_def_rttov_mod.f90',
                               '../../../observations/forward_operators/obs_def_metar_mod.f90',
                               '../../../observations/forward_operators/obs_def_dew_point_mod.f90',
                               '../../../observations/forward_operators/obs_def_rel_humidity_mod.f90',
@@ -126,6 +127,9 @@
    /
 
 &obs_kind_nml
+   assimilate_these_obs_types = 'AQUA_AIRS_AMSU_RADIANCE',
+   /
+
    assimilate_these_obs_types = 'RADIOSONDE_TEMPERATURE',
                                 'RADIOSONDE_U_WIND_COMPONENT',
                                 'RADIOSONDE_V_WIND_COMPONENT',
@@ -140,7 +144,6 @@
                                 'GPSRO_REFRACTIVITY',
                                 'LAND_SFC_ALTIMETER' 
    evaluate_these_obs_types   = 'RADIOSONDE_SPECIFIC_HUMIDITY',
-   /
 
 # Notes for obs_def_radar_mod_nml:
 # (1) Reflectivity limit can be applied to observations and/or forward operator.

Modified: DART/branches/radiance/models/wrf/work/mkmf_filter
===================================================================
--- DART/branches/radiance/models/wrf/work/mkmf_filter	2018-10-03 15:13:15 UTC (rev 12893)
+++ DART/branches/radiance/models/wrf/work/mkmf_filter	2018-10-04 20:30:51 UTC (rev 12894)
@@ -4,8 +4,7 @@
 # by UCAR, "as is", without charge, subject to all terms of use at
 # http://www.image.ucar.edu/DAReS/DART/DART_download
 #
-# DART $Id$
-#
+# DART $Id$ #
 # usage: mkmf_filter [ -mpi | -nompi ]
 #
 # without any args, builds filter without mpi libraries, and it will run
@@ -33,6 +32,41 @@
 # or the subroutines which really call mpi.
 cp -f path_names_filter path_names_filter.back
 
+set XTRALIBS_BASE = /Users/hendric
+
+set JPGDIR = ${XTRALIBS_BASE}/eos
+set HDFDIR = ${XTRALIBS_BASE}/eos
+set EOSDIR = ${XTRALIBS_BASE}/eos
+set RTTOV = ${XTRALIBS_BASE}/rttov122
+
+
+set JPGINC = ${JPGDIR}/include
+set JPGLIB = ${JPGDIR}/lib
+
+set HDFINC = ${HDFDIR}/include
+set HDFLIB = ${HDFDIR}/lib
+
+set EOSINC = ${EOSDIR}/include
+set EOSLIB = ${EOSDIR}/lib
+
+set RTINC = "${RTTOV}/include"
+set RTMOD = "${RTTOV}/mod"
+set RTLIB = "${RTTOV}/lib"
+set RTSRC = "${RTTOV}/src"
+set RTLIBS = "-lrttov_main -lrttov_brdf_atlas -lrttov_coef_io -lrttov_emis_atlas -lrttov_mw_scatt -lrttov_mw_scatt_coef -lrttov_other"
+
+# leaving this out for now: rttov_parallel
+
+set MYLIBS = "${RTLIBS} -lhdfeos -lmfhdf -ldf -ljpeg -lz  -lm"
+
+set MYINCDIRS = "-I${RTINC} -I${RTMOD} -I${EOSINC} -I${HDFINC} -I${JPGINC} -I${RTSRC}"
+set MYLIBDIRS = "-L${RTLIB} -L${EOSLIB} -L${HDFLIB} -L${JPGLIB}"
+
+# is -cpp compiler specific?  on a mac with a case-insensitive filesystem
+# we have to tell it to call cpp to build files with #if and #include lines.
+
+set MYFLAGS = "-cpp ${MYINCDIRS}"
+
 if ( $usingmpi ) then
 
   echo "Making Makefile with MPI"
@@ -62,7 +96,8 @@
 # remove temp file and now really call mkmf to generate makefile
 rm -f path_names_filter.back
 
-../../../build_templates/mkmf -p filter -t ../../../build_templates/mkmf.template   \
+../../../build_templates/mkmf -p filter -t ../../../build_templates/mkmf.template \
+ -o "${MYFLAGS}" -l "${MYFLAGS} ${MYINCDIRS} ${MYLIBDIRS} ${MYLIBS}" \
         -a "../../.." ${wrapper_arg} path_names_filter
 
 exit $status

Modified: DART/branches/radiance/models/wrf/work/path_names_filter
===================================================================
--- DART/branches/radiance/models/wrf/work/path_names_filter	2018-10-03 15:13:15 UTC (rev 12893)


More information about the Dart-dev mailing list