Hi Armaghan,
I can help you with this question. I'll also address a related question you submitted to the help desk, so that the response is available for others who may have similar troubles. That request was:
I am trying to run WRF-Hydro for NWM with nudging data assimilation. Although the model is running without any error and the nudgingLastObs.*nc files are created in the output folder, I doubt if DA is being processed correctly. I can see the prediction in none of my gages is exactly the same as USGS observations. Does this show that there is something wrong with my model? If yes could you guide me how to troubleshoot this?
1) The good news is that the fact that the model runs and creates the nudgingLastObs.*nc file is a sign that you successfully compiled with nudging on (bottom of p17 v5 user guide). This output is not a sign that anything is being assimilated, though the information in the file can help you understand if assimilation is happening.
2) The easiest way to tell if assimilation is happening is to look at the nudge field in the "CHRTOUT" files. If it is zero for all gages and all time/files, then no data is being assimilated during your run. There are many potential causes of observations not being assimilated...
3) If nothing is being assimilated, did you supply nudging time slice files in the correct loaction, as specified in the nuding_nlst? Are they for the right gages and same time period as being run?
4) Are your gage identifiers wrong? The only diagnostic information you provided (~1 line in the help desk request), made it appeared that you mis-specified the gage identifier. All identifiers are fixed-width of 15 characters. That means that '01333000' ≠ ' 01333000'. Note on p45 (v5 user's guide)
The stationIdInd variable has dimensions of
the number of individual stream gages contained in the file by the fixed width of the strings
(stationIdStrLen=15).
This is critical not only in the timeslice files, but also in the parameter files. There are tools in rwrfhydro to assist with creation of both of these files.
?rwrfhydro::MkNudgingParams
?rwrfhydro::MkUsgsTimeSlice
My guess is that this is your issue, either in the parameter file or the timeslice file or both.
5) Back to your question here. See how easy it is to make the model ignore observations? :^> What I typically do is regenerate the timeslice files and add and "X" in front of gage identifiers to have them withheld from the assimilation. Occasionally there are USGS gage Ids that are 15 long, and so you loose some information. It's slightly less modifications/degrees of freedom to modify the timeslice files and leave the domain files alone. You could modify the gage/stationId fields in the Routelink file and the nudgingParams.nc files, but I can tell you off the top of my head if you need to modify just one or both. This path would save you from regenerating the timeslices files, you would just have to keep track of the correct domain files. If you only have to edit one of Routelink and nudgingParams, i can not tell you. You might try it. There might be an error unless you modify both.
I hope that is useful information. Please follow up with additional questions.
Thanks,
James