Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions lis/core/LIS_lsm_FTable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1961,63 +1961,6 @@ void FTN(lsmdaupdatestate)(char *j, int *n, void *LSM_State, void *LSM_Incr_Stat
current->func(n,LSM_State, LSM_Incr_State);
}

//BOP
// !ROUTINE: registerwritestatevar
// \label{registerwritestatevar}
//
// !INTERFACE:
//void FTN(registerwritestatevar)(char *j, int *j, void (*func)(int *, int*, void*),int len)
//
// !DESCRIPTION:
// Makes an entry in the registry for the routine
// for obtaining the specified prognostic variables from the
// land surface model
//
// \begin{description}
// \item[j]
// name of the LSM
// \item[j]
// index of the variable
// \end{description}
//EOP
//{
// ft_check_index(*i, FT_MAX_LSM, "registerwritestatevar");
// ft_check_index(*j, FT_MAX_DAVAROBS, "registerwritestatevar");
// wrtvar[*i][*j].func = func;
//}
//BOP
// !ROUTINE: writelsmstatevar
// \label{writelsmstatevar}
//
// !INTERFACE:
//void FTN(writelsmstatevar)(char *j, int *j, int *ftn, int *n, void *state)
//
// !DESCRIPTION:
// Invokes the routine from the registry for obtaining
// the specified prognostic variables from the land surface model
//
// \begin{description}
// \item[j]
// name of the LSM
// \item[j]
// index of the variable
// \item[n]
// index of the nest
// \item[statevars]
// pointer to the prognostic variable array
// \end{description}
//EOP
//{
// if(wrtvar[*i][*j].func==NULL) {
// printf("****************Error****************************\n");
// printf("routine that writes state prognostic variables for lsm %d and variable %d is not defined \n",*i,*j);
// printf("program will segfault.....\n");
// printf("****************Error****************************\n");
// exit;
// }
// wrtvar[*i][*j].func(ftn, n, state);
//}

//BOP
// !ROUTINE: registerlsmcplsetexport
// \label{registerlsmcplsetexport}
Expand Down
15 changes: 13 additions & 2 deletions lis/plugins/LIS_lsmda_pluginMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,19 @@ subroutine LIS_lsmda_plugin
#endif
#endif

external :: registerlsmdainit
external :: registerlsmdagetstatevar
external :: registerlsmdaobstransform
external :: registerlsmdamapobstolsm
external :: registerlsmdaupdatestate
external :: registerlsmdaqcstate
external :: registerlsmdasetstatevar
external :: registerlsmdagetobspred
external :: registerlsmdaqcobsstate
external :: registerlsmdascalestatevar
external :: registerlsmdadescalestatevar
external :: registerlsmdadiagnosevars

#if ( defined SM_NOAH_2_7_1 )
#if ( defined DA_OBS_SNODEP )
! Noah-2.7.1 snow depth
Expand Down Expand Up @@ -3269,7 +3282,6 @@ subroutine LIS_lsmda_plugin
trim(LIS_GRACEtwsobsId)//char(0),clsmf25_descale_tws)
call registerlsmdaupdatestate(trim(LIS_clsmf25Id)//"+"//&
trim(LIS_GRACEtwsobsId)//char(0), clsmf25_update_tws)
! call registerwritestatevar(trim(LIS_clsmf25Id)//"+"trim(LIS_GRACEtwsobsId)//char(0),clsmf25_write_tws)
call registerlsmdadiagnosevars(trim(LIS_clsmf25Id)//"+"//&
trim(LIS_GRACEtwsobsId)//char(0),clsmf25_tws_DAlog)

Expand All @@ -3290,7 +3302,6 @@ subroutine LIS_lsmda_plugin
trim(LIS_simGRACEJPLobsId)//char(0),clsmf25_descale_tws)
call registerlsmdaupdatestate(trim(LIS_clsmf25Id)//"+"//&
trim(LIS_simGRACEJPLobsId)//char(0), clsmf25_update_tws)
! call registerwritestatevar(trim(LIS_clsmf25Id)//"+"trim(LIS_simGRACEJPLobsId)//char(0),clsmf25_write_tws)
call registerlsmdadiagnosevars(trim(LIS_clsmf25Id)//"+"//&
trim(LIS_simGRACEJPLobsId)//char(0),clsmf25_tws_DAlog)
#endif
Expand Down
75 changes: 0 additions & 75 deletions lis/surfacemodels/land/clsm.f2.5/da_tws/clsmf25_write_tws.F90

This file was deleted.

69 changes: 0 additions & 69 deletions lis/surfacemodels/land/noahmp.4.0.1/da_LAI/noahmp401_write_veg.F90

This file was deleted.

This file was deleted.

75 changes: 0 additions & 75 deletions lis/surfacemodels/land/noahmp.4.0.1/da_tws/noahmp401_write_tws.F90

This file was deleted.