Greetings,
I am trying to use a subroutine (modal_aero_sw) which is in the module modal_aer_opt.F90 (CEAM2.2/CAM6) in order to extract some aerosols optical information (tauxar, wa, ga, fa), which I need.
This subroutine has some input parameters between one of them is pbuf.
Is there anyone who knows how to get initialized that pbuf input? Or I can call this subroutine without having and error like this when I try to create a case:
Looking at that module, it looks like pbuf is pointing
and at the beginning of module modal_aer_opt.F90
I also found in this forum a threat similar, I believe, to my problem (Questions on physics_buffer), but I still do not get how to associate it to my question.
Thanks in advance
I am trying to use a subroutine (modal_aero_sw) which is in the module modal_aer_opt.F90 (CEAM2.2/CAM6) in order to extract some aerosols optical information (tauxar, wa, ga, fa), which I need.
call modal_aero_sw(list_idx, state, pbuf, nnite, idxnite, tauxar, wa, ga, fa)
This subroutine has some input parameters between one of them is pbuf.
Is there anyone who knows how to get initialized that pbuf input? Or I can call this subroutine without having and error like this when I try to create a case:
ERROR: GET_PBUF1D_FIELD_BY_INDEX: index (125) out of range
Looking at that module, it looks like pbuf is pointing
type(physics_buffer_desc), pointer :: pbuf(:)
and at the beginning of module modal_aer_opt.F90
use physics_buffer, only : pbuf_get_index,physics_buffer_desc, pbuf_get_field
I also found in this forum a threat similar, I believe, to my problem (Questions on physics_buffer), but I still do not get how to associate it to my question.
Thanks in advance