bgc_data_processing.units¶
Unit conversion functions.
convert_umol_by_kg_to_mmol_by_m3(data_umol_by_kg)
¶
  Convert umol/kg to mmol/m3 using sewater denisty.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
data_umol_by_kg | 
          
                Series
           | 
          
             Original data (in umol/kg)  | 
          required | 
Returns:
| Type | Description | 
|---|---|
                Series
           | 
          
             Converted data (mmol/m3)  | 
        
Source code in src/bgc_data_processing/units.py
            6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23  |  | 
convert_doxy_ml_by_l_to_mmol_by_m3(data_ml_by_l)
¶
  Convert dissolved oxygen from mL/L to mmol/m3.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
data_ml_by_l | 
          
                Series
           | 
          
             Original data (mL/L)  | 
          required | 
Returns:
| Type | Description | 
|---|---|
                Series
           | 
          
             Converted data (mmol/m3)  | 
        
Source code in src/bgc_data_processing/units.py
            26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41  |  | 
convert_nitrate_mgc_by_m3_to_umol_by_l(data_mgc_m3)
¶
  Convert nitrate concentration from mgC/m3 to μmol/L.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
data_mgc_m3 | 
          
                Series
           | 
          
             Original data (mgC/m3)  | 
          required | 
Returns:
| Type | Description | 
|---|---|
                Series
           | 
          
             Converted data (μmol/L)  | 
        
Source code in src/bgc_data_processing/units.py
            44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67  |  | 
convert_silicate_mgc_by_m3_to_umol_by_l(data_mgc_m3)
¶
  Convert silicate concentration from mgC/m3 to μmol/L.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
data_mgc_m3 | 
          
                Series
           | 
          
             Original data (mgC/m3)  | 
          required | 
Returns:
| Type | Description | 
|---|---|
                Series
           | 
          
             Converted data (μmol/L)  | 
        
Source code in src/bgc_data_processing/units.py
            70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93  |  | 
convert_phosphate_mgc_by_m3_to_umol_by_l(data_mgc_m3)
¶
  Convert phosphate concentration from mgC/m3 to μmol/L.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
data_mgc_m3 | 
          
                Series
           | 
          
             Original data (mgC/m3)  | 
          required | 
Returns:
| Type | Description | 
|---|---|
                Series
           | 
          
             Converted data (μmol/L)  | 
        
Source code in src/bgc_data_processing/units.py
            96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119  |  |