@@ -950,11 +950,11 @@ function ConfigCommon:reference_co2_apriori_met_apriori()
950950end 
951951
952952---- --------------------------------------------------------
953- ---  Get co2 apriori for  the profile file
953+ ---  Get co2 apriori from  the profile file
954954---- --------------------------------------------------------
955955
956956function  ConfigCommon :co2_profile_file_apriori ()
957-    local  t  =  CO2ProfilePrior (self .config .met , self .config :h_co2_profile ())
957+    local  t  =  CO2ProfilePrior (self .config .met , self .config :h_co2_profile (),  " CO2Prior/co2_prior_profile_cpr " 
958958   return  t :apriori_vmr (self .config .pressure )
959959end 
960960
@@ -1000,6 +1000,15 @@ function ConfigCommon:reference_ch4_apriori_met_apriori()
10001000   return  t :apriori_vmr (self .config .pressure )
10011001end 
10021002
1003+ ---- --------------------------------------------------------
1004+ ---  Get ch4 apriori from the profile file
1005+ ---- --------------------------------------------------------
1006+ 
1007+ function  ConfigCommon :ch4_profile_file_apriori ()
1008+    local  t  =  CO2ProfilePrior (self .config .met , self .config :h_co2_profile (), " CH4Prior/ch4_prior_profile_cpr" 
1009+    return  t :apriori_vmr (self .config .pressure )
1010+ end 
1011+ 
10031012---- --------------------------------------------------------
10041013---  Load the CO VMR object
10051014---- --------------------------------------------------------
@@ -1021,6 +1030,15 @@ function ConfigCommon:reference_co_apriori_met_apriori()
10211030   return  t :apriori_vmr (self .config .pressure )
10221031end 
10231032
1033+ ---- --------------------------------------------------------
1034+ ---  Get co apriori from the profile file
1035+ ---- --------------------------------------------------------
1036+ 
1037+ function  ConfigCommon :co_profile_file_apriori ()
1038+    local  t  =  CO2ProfilePrior (self .config .met , self .config :h_co2_profile (), " COPrior/co_prior_profile_cpr" 
1039+    return  t :apriori_vmr (self .config .pressure )
1040+ end 
1041+ 
10241042---- --------------------------------------------------------
10251043--  Short cut for making a flag array. This takes a size, creates
10261044--  a bool array of that size and sets everything in the passed
0 commit comments