rrfsx / rrfs-workflow_beta

GNU Lesser General Public License v3.0
0 stars 5 forks source link

compile ungrib without WRF #57

Open hu5970 opened 1 month ago

hu5970 commented 1 month ago

If WRF is used only for compile WPS for using ungrib, we can compile ungrib without WRF.

I made the follow changes to "build.wps" and it can compile the ungrib.

#echo "compiling WRF..."
#cd ${HOMErrfs}/sorc/WRF
#echo "16 1" | ./configure
#./compile em_real

echo "compiling WPS..."
cd ${HOMErrfs}/sorc/WPS
export WRF_DIR=../WRF
echo "19" | ./configure --nowrf
./compile ungrib

mkdir -p ${HOMErrfs}/exec
echo "copy ${EXEC} to ../exec/ungrib.x"
ln -snf ${EXEC} ${HOMErrfs}/exec/ungrib.x
guoqing-noaa commented 1 month ago

Great! Thanks, @hu5970

guoqing-noaa commented 1 month ago

@hu5970 Does it mean we can remove the whole WRF submodule? Thanks!