--
You received this message because you are subscribed to the Google Groups "FABM-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabm-devel/080fad7a-a825-47b7-b68b-5d4b940c53b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Benjamin,
You’re on the right track. The key is that you can also create your own standard variables without changing FABM, like this
call model_fabm%link_horizontal_data(type_horizontal_standard_variable(name=‘mixed_layer_depth’, units=’m’))
(in gotm.F90)
You can then retrieve it from FABM with the same syntax, e.g.,
call self%register_dependency(self%mld_id, type_horizontal_standard_variable(name=‘mixed_layer_depth’, units=’m’))
(in the FABM model that needs it – note that name and units must match exactly what you use in gotm.F90)
For reference, changing variables.yaml should work too, provided you run parse_standard_variables.py after. But the above approach is recommended as it does not require FABM customization.
Out of curiosity – why does your biogeochemical model need to know about mixed layer depth? In 1D water column models such as GOTM, anything related to the mixed layer (diffusivities, nutrient entrainment, etc) is already resolved explicitly.
Cheers,
Jorn
--
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-...@googlegroups.com.
That error typically indicates that type_horizontal_standard_variable is unknown – try adding “use fabm_standard_variables” to the module your working in.
Cheers,
Jorn
I can't find how to properly declare it as a standard variable for FABM.
Some help would be greatly appreciated!
Cheers,
Benjamin Richaud
PhD Student
Dalhousie University
--
You received this message because you are subscribed to the Google Groups "FABM-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabm-devel/080fad7a-a825-47b7-b68b-5d4b940c53b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "FABM-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabm-devel/f38e98dd-ea04-45a6-9881-64b228792396%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fabm-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fabm-devel/3f49bb2c-65ab-48f8-a9a2-8da2107cd300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.