roms-tools 3.1.2__py3-none-any.whl → 3.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. roms_tools/__init__.py +3 -0
  2. roms_tools/analysis/cdr_analysis.py +203 -0
  3. roms_tools/analysis/cdr_ensemble.py +198 -0
  4. roms_tools/analysis/roms_output.py +80 -46
  5. roms_tools/data/grids/GLORYS_global_grid.nc +0 -0
  6. roms_tools/download.py +4 -0
  7. roms_tools/plot.py +113 -51
  8. roms_tools/setup/boundary_forcing.py +45 -20
  9. roms_tools/setup/cdr_forcing.py +122 -8
  10. roms_tools/setup/cdr_release.py +161 -8
  11. roms_tools/setup/grid.py +150 -141
  12. roms_tools/setup/initial_conditions.py +113 -48
  13. roms_tools/setup/{datasets.py → lat_lon_datasets.py} +443 -938
  14. roms_tools/setup/mask.py +63 -7
  15. roms_tools/setup/nesting.py +314 -117
  16. roms_tools/setup/river_datasets.py +527 -0
  17. roms_tools/setup/river_forcing.py +46 -20
  18. roms_tools/setup/surface_forcing.py +7 -9
  19. roms_tools/setup/tides.py +2 -3
  20. roms_tools/setup/topography.py +8 -10
  21. roms_tools/setup/utils.py +396 -23
  22. roms_tools/tests/test_analysis/test_cdr_analysis.py +144 -0
  23. roms_tools/tests/test_analysis/test_cdr_ensemble.py +202 -0
  24. roms_tools/tests/test_analysis/test_roms_output.py +61 -3
  25. roms_tools/tests/test_setup/test_boundary_forcing.py +54 -52
  26. roms_tools/tests/test_setup/test_cdr_forcing.py +54 -0
  27. roms_tools/tests/test_setup/test_cdr_release.py +118 -1
  28. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/ALK_ALT_CO2_east/c/0/0/0 +0 -0
  29. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/ALK_ALT_CO2_north/c/0/0/0 +0 -0
  30. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/ALK_ALT_CO2_west/c/0/0/0 +0 -0
  31. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/ALK_east/c/0/0/0 +0 -0
  32. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/ALK_north/c/0/0/0 +0 -0
  33. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/ALK_west/c/0/0/0 +0 -0
  34. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DIC_ALT_CO2_east/c/0/0/0 +0 -0
  35. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DIC_ALT_CO2_north/c/0/0/0 +0 -0
  36. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DIC_ALT_CO2_west/c/0/0/0 +0 -0
  37. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DIC_east/c/0/0/0 +0 -0
  38. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DIC_north/c/0/0/0 +0 -0
  39. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DIC_west/c/0/0/0 +0 -0
  40. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOC_east/c/0/0/0 +0 -0
  41. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOC_north/c/0/0/0 +0 -0
  42. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOC_west/c/0/0/0 +0 -0
  43. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOCr_east/c/0/0/0 +0 -0
  44. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOCr_north/c/0/0/0 +0 -0
  45. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOCr_west/c/0/0/0 +0 -0
  46. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DON_east/c/0/0/0 +0 -0
  47. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DON_north/c/0/0/0 +0 -0
  48. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DON_west/c/0/0/0 +0 -0
  49. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DONr_east/c/0/0/0 +0 -0
  50. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DONr_north/c/0/0/0 +0 -0
  51. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DONr_west/c/0/0/0 +0 -0
  52. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOP_east/c/0/0/0 +0 -0
  53. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOP_north/c/0/0/0 +0 -0
  54. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOP_west/c/0/0/0 +0 -0
  55. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOPr_east/c/0/0/0 +0 -0
  56. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOPr_north/c/0/0/0 +0 -0
  57. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/DOPr_west/c/0/0/0 +0 -0
  58. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/Fe_east/c/0/0/0 +0 -0
  59. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/Fe_north/c/0/0/0 +0 -0
  60. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/Fe_west/c/0/0/0 +0 -0
  61. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/Lig_east/c/0/0/0 +0 -0
  62. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/Lig_north/c/0/0/0 +0 -0
  63. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/Lig_west/c/0/0/0 +0 -0
  64. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/NH4_east/c/0/0/0 +0 -0
  65. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/NH4_north/c/0/0/0 +0 -0
  66. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/NH4_west/c/0/0/0 +0 -0
  67. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/NO3_east/c/0/0/0 +0 -0
  68. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/NO3_north/c/0/0/0 +0 -0
  69. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/NO3_west/c/0/0/0 +0 -0
  70. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/O2_east/c/0/0/0 +0 -0
  71. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/O2_north/c/0/0/0 +0 -0
  72. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/O2_west/c/0/0/0 +0 -0
  73. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/PO4_east/c/0/0/0 +0 -0
  74. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/PO4_north/c/0/0/0 +0 -0
  75. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/PO4_west/c/0/0/0 +0 -0
  76. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/SiO3_east/c/0/0/0 +0 -0
  77. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/SiO3_north/c/0/0/0 +0 -0
  78. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/SiO3_west/c/0/0/0 +0 -0
  79. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatC_east/c/0/0/0 +0 -0
  80. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatC_north/c/0/0/0 +0 -0
  81. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatC_west/c/0/0/0 +0 -0
  82. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatChl_east/c/0/0/0 +0 -0
  83. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatChl_north/c/0/0/0 +0 -0
  84. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatChl_west/c/0/0/0 +0 -0
  85. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatFe_east/c/0/0/0 +0 -0
  86. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatFe_north/c/0/0/0 +0 -0
  87. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatFe_west/c/0/0/0 +0 -0
  88. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatP_east/c/0/0/0 +0 -0
  89. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatP_north/c/0/0/0 +0 -0
  90. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatP_west/c/0/0/0 +0 -0
  91. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatSi_east/c/0/0/0 +0 -0
  92. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatSi_north/c/0/0/0 +0 -0
  93. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diatSi_west/c/0/0/0 +0 -0
  94. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazC_east/c/0/0/0 +0 -0
  95. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazC_north/c/0/0/0 +0 -0
  96. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazC_west/c/0/0/0 +0 -0
  97. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazChl_east/c/0/0/0 +0 -0
  98. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazChl_north/c/0/0/0 +0 -0
  99. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazChl_west/c/0/0/0 +0 -0
  100. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazFe_east/c/0/0/0 +0 -0
  101. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazFe_north/c/0/0/0 +0 -0
  102. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazFe_west/c/0/0/0 +0 -0
  103. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazP_east/c/0/0/0 +0 -0
  104. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazP_north/c/0/0/0 +0 -0
  105. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/diazP_west/c/0/0/0 +0 -0
  106. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spC_east/c/0/0/0 +0 -0
  107. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spC_north/c/0/0/0 +0 -0
  108. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spC_west/c/0/0/0 +0 -0
  109. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spCaCO3_east/c/0/0/0 +0 -0
  110. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spCaCO3_north/c/0/0/0 +0 -0
  111. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spCaCO3_west/c/0/0/0 +0 -0
  112. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spChl_east/c/0/0/0 +0 -0
  113. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spChl_north/c/0/0/0 +0 -0
  114. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spChl_west/c/0/0/0 +0 -0
  115. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spFe_east/c/0/0/0 +0 -0
  116. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spFe_north/c/0/0/0 +0 -0
  117. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spFe_west/c/0/0/0 +0 -0
  118. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spP_east/c/0/0/0 +0 -0
  119. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spP_north/c/0/0/0 +0 -0
  120. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/spP_west/c/0/0/0 +0 -0
  121. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/zarr.json +406 -406
  122. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/zooC_east/c/0/0/0 +0 -0
  123. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/zooC_north/c/0/0/0 +0 -0
  124. roms_tools/tests/test_setup/test_data/bgc_boundary_forcing_from_climatology.zarr/zooC_west/c/0/0/0 +0 -0
  125. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/salt_east/c/0/0/0 +0 -0
  126. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/salt_north/c/0/0/0 +0 -0
  127. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/salt_south/c/0/0/0 +0 -0
  128. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/salt_west/c/0/0/0 +0 -0
  129. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/temp_east/c/0/0/0 +0 -0
  130. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/temp_north/c/0/0/0 +0 -0
  131. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/temp_south/c/0/0/0 +0 -0
  132. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/temp_west/c/0/0/0 +0 -0
  133. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/u_east/c/0/0/0 +0 -0
  134. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/u_north/c/0/0/0 +0 -0
  135. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/u_south/c/0/0/0 +0 -0
  136. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/u_west/c/0/0/0 +0 -0
  137. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/ubar_east/c/0/0 +0 -0
  138. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/ubar_north/c/0/0 +0 -0
  139. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/ubar_south/c/0/0 +0 -0
  140. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/ubar_west/c/0/0 +0 -0
  141. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/v_east/c/0/0/0 +0 -0
  142. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/v_north/c/0/0/0 +0 -0
  143. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/v_south/c/0/0/0 +0 -0
  144. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/v_west/c/0/0/0 +0 -0
  145. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/vbar_east/c/0/0 +0 -0
  146. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/vbar_north/c/0/0 +0 -0
  147. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/vbar_south/c/0/0 +0 -0
  148. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/vbar_west/c/0/0 +0 -0
  149. roms_tools/tests/test_setup/test_data/boundary_forcing.zarr/zarr.json +182 -182
  150. roms_tools/tests/test_setup/test_data/grid.zarr/h/c/0/0 +0 -0
  151. roms_tools/tests/test_setup/test_data/grid.zarr/zarr.json +191 -191
  152. roms_tools/tests/test_setup/test_data/grid_that_straddles_dateline.zarr/h/c/0/0 +0 -0
  153. roms_tools/tests/test_setup/test_data/grid_that_straddles_dateline.zarr/zarr.json +210 -210
  154. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/ALK/c/0/0/0/0 +0 -0
  155. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/ALK_ALT_CO2/c/0/0/0/0 +0 -0
  156. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DIC/c/0/0/0/0 +0 -0
  157. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DIC_ALT_CO2/c/0/0/0/0 +0 -0
  158. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DOC/c/0/0/0/0 +0 -0
  159. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DOCr/c/0/0/0/0 +0 -0
  160. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DON/c/0/0/0/0 +0 -0
  161. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DONr/c/0/0/0/0 +0 -0
  162. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DOP/c/0/0/0/0 +0 -0
  163. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/DOPr/c/0/0/0/0 +0 -0
  164. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/Fe/c/0/0/0/0 +0 -0
  165. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/Lig/c/0/0/0/0 +0 -0
  166. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/NH4/c/0/0/0/0 +0 -0
  167. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/NO3/c/0/0/0/0 +0 -0
  168. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/O2/c/0/0/0/0 +0 -0
  169. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/PO4/c/0/0/0/0 +0 -0
  170. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/SiO3/c/0/0/0/0 +0 -0
  171. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diatC/c/0/0/0/0 +0 -0
  172. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diatChl/c/0/0/0/0 +0 -0
  173. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diatFe/c/0/0/0/0 +0 -0
  174. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diatP/c/0/0/0/0 +0 -0
  175. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diatSi/c/0/0/0/0 +0 -0
  176. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diazC/c/0/0/0/0 +0 -0
  177. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diazChl/c/0/0/0/0 +0 -0
  178. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diazFe/c/0/0/0/0 +0 -0
  179. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/diazP/c/0/0/0/0 +0 -0
  180. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/salt/c/0/0/0/0 +0 -0
  181. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/spC/c/0/0/0/0 +0 -0
  182. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/spCaCO3/c/0/0/0/0 +0 -0
  183. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/spChl/c/0/0/0/0 +0 -0
  184. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/spFe/c/0/0/0/0 +0 -0
  185. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/spP/c/0/0/0/0 +0 -0
  186. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/temp/c/0/0/0/0 +0 -0
  187. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/u/c/0/0/0/0 +0 -0
  188. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/ubar/c/0/0/0 +0 -0
  189. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/v/c/0/0/0/0 +0 -0
  190. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/vbar/c/0/0/0 +0 -0
  191. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/zarr.json +182 -182
  192. roms_tools/tests/test_setup/test_data/initial_conditions_with_bgc_from_climatology.zarr/zooC/c/0/0/0/0 +0 -0
  193. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/salt/c/0/0/0/0 +0 -0
  194. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/temp/c/0/0/0/0 +0 -0
  195. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/u/c/0/0/0/0 +0 -0
  196. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/ubar/c/0/0/0 +0 -0
  197. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/v/c/0/0/0/0 +0 -0
  198. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/vbar/c/0/0/0 +0 -0
  199. roms_tools/tests/test_setup/test_data/initial_conditions_with_unified_bgc_from_climatology.zarr/zarr.json +187 -187
  200. roms_tools/tests/test_setup/test_data/tidal_forcing.zarr/u_Im/c/0/0/0 +0 -0
  201. roms_tools/tests/test_setup/test_data/tidal_forcing.zarr/u_Re/c/0/0/0 +0 -0
  202. roms_tools/tests/test_setup/test_data/tidal_forcing.zarr/v_Im/c/0/0/0 +0 -0
  203. roms_tools/tests/test_setup/test_data/tidal_forcing.zarr/v_Re/c/0/0/0 +0 -0
  204. roms_tools/tests/test_setup/test_data/tidal_forcing.zarr/zarr.json +66 -66
  205. roms_tools/tests/test_setup/test_grid.py +236 -115
  206. roms_tools/tests/test_setup/test_initial_conditions.py +94 -41
  207. roms_tools/tests/test_setup/{test_datasets.py → test_lat_lon_datasets.py} +409 -100
  208. roms_tools/tests/test_setup/test_nesting.py +119 -31
  209. roms_tools/tests/test_setup/test_river_datasets.py +48 -0
  210. roms_tools/tests/test_setup/test_surface_forcing.py +2 -1
  211. roms_tools/tests/test_setup/test_utils.py +92 -2
  212. roms_tools/tests/test_setup/utils.py +71 -0
  213. roms_tools/tests/test_tiling/test_join.py +241 -0
  214. roms_tools/tests/test_utils.py +139 -17
  215. roms_tools/tiling/join.py +189 -0
  216. roms_tools/utils.py +131 -99
  217. {roms_tools-3.1.2.dist-info → roms_tools-3.3.0.dist-info}/METADATA +12 -2
  218. {roms_tools-3.1.2.dist-info → roms_tools-3.3.0.dist-info}/RECORD +221 -211
  219. {roms_tools-3.1.2.dist-info → roms_tools-3.3.0.dist-info}/WHEEL +0 -0
  220. {roms_tools-3.1.2.dist-info → roms_tools-3.3.0.dist-info}/licenses/LICENSE +0 -0
  221. {roms_tools-3.1.2.dist-info → roms_tools-3.3.0.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "attributes": {
3
3
  "title": "ROMS grid created by ROMS-Tools",
4
- "roms_tools_version": "2.6.1.dev52+gd44fe5da",
4
+ "roms_tools_version": "3.1.3.dev32+g91d580e67.d20250929",
5
5
  "size_x": 100,
6
6
  "size_y": 100,
7
7
  "center_lon": -20,
@@ -19,10 +19,10 @@
19
19
  "kind": "inline",
20
20
  "must_understand": false,
21
21
  "metadata": {
22
- "lat_u": {
22
+ "pm": {
23
23
  "shape": [
24
24
  3,
25
- 2
25
+ 3
26
26
  ],
27
27
  "data_type": "float64",
28
28
  "chunk_grid": {
@@ -30,7 +30,7 @@
30
30
  "configuration": {
31
31
  "chunk_shape": [
32
32
  3,
33
- 2
33
+ 3
34
34
  ]
35
35
  }
36
36
  },
@@ -57,24 +57,25 @@
57
57
  }
58
58
  ],
59
59
  "attributes": {
60
- "long_name": "latitude of u-points",
61
- "units": "degrees North",
60
+ "long_name": "Curvilinear coordinate metric in xi-direction",
61
+ "units": "meter-1",
62
+ "coordinates": "lat_rho lon_rho",
62
63
  "_FillValue": "AAAAAAAA+H8="
63
64
  },
64
65
  "dimension_names": [
65
66
  "eta_rho",
66
- "xi_u"
67
+ "xi_rho"
67
68
  ],
68
69
  "zarr_format": 3,
69
70
  "node_type": "array",
70
71
  "storage_transformers": []
71
72
  },
72
- "mask_u": {
73
+ "lat_u": {
73
74
  "shape": [
74
75
  3,
75
76
  2
76
77
  ],
77
- "data_type": "int32",
78
+ "data_type": "float64",
78
79
  "chunk_grid": {
79
80
  "name": "regular",
80
81
  "configuration": {
@@ -90,7 +91,7 @@
90
91
  "separator": "/"
91
92
  }
92
93
  },
93
- "fill_value": 0,
94
+ "fill_value": 0.0,
94
95
  "codecs": [
95
96
  {
96
97
  "name": "bytes",
@@ -107,9 +108,9 @@
107
108
  }
108
109
  ],
109
110
  "attributes": {
110
- "long_name": "Mask at u-points",
111
- "units": "land/water (0/1)",
112
- "coordinates": "lat_u lon_u"
111
+ "long_name": "latitude of u-points",
112
+ "units": "degrees North",
113
+ "_FillValue": "AAAAAAAA+H8="
113
114
  },
114
115
  "dimension_names": [
115
116
  "eta_rho",
@@ -119,16 +120,18 @@
119
120
  "node_type": "array",
120
121
  "storage_transformers": []
121
122
  },
122
- "sigma_r": {
123
+ "lat_coarse": {
123
124
  "shape": [
124
- 100
125
+ 2,
126
+ 2
125
127
  ],
126
- "data_type": "float32",
128
+ "data_type": "float64",
127
129
  "chunk_grid": {
128
130
  "name": "regular",
129
131
  "configuration": {
130
132
  "chunk_shape": [
131
- 100
133
+ 2,
134
+ 2
132
135
  ]
133
136
  }
134
137
  },
@@ -155,29 +158,30 @@
155
158
  }
156
159
  ],
157
160
  "attributes": {
158
- "long_name": "Fractional vertical stretching coordinate at rho-points",
159
- "units": "nondimensional",
161
+ "long_name": "latitude of rho-points on coarsened grid",
162
+ "units": "degrees North",
160
163
  "_FillValue": "AAAAAAAA+H8="
161
164
  },
162
165
  "dimension_names": [
163
- "s_rho"
166
+ "eta_coarse",
167
+ "xi_coarse"
164
168
  ],
165
169
  "zarr_format": 3,
166
170
  "node_type": "array",
167
171
  "storage_transformers": []
168
172
  },
169
- "angle_coarse": {
173
+ "f": {
170
174
  "shape": [
171
- 2,
172
- 2
175
+ 3,
176
+ 3
173
177
  ],
174
178
  "data_type": "float64",
175
179
  "chunk_grid": {
176
180
  "name": "regular",
177
181
  "configuration": {
178
182
  "chunk_shape": [
179
- 2,
180
- 2
183
+ 3,
184
+ 3
181
185
  ]
182
186
  }
183
187
  },
@@ -204,31 +208,29 @@
204
208
  }
205
209
  ],
206
210
  "attributes": {
207
- "long_name": "Angle between xi axis and east on coarsened grid",
208
- "units": "radians",
209
- "coordinates": "lat_coarse lon_coarse",
211
+ "long_name": "Coriolis parameter at rho-points",
212
+ "units": "second-1",
213
+ "coordinates": "lat_rho lon_rho",
210
214
  "_FillValue": "AAAAAAAA+H8="
211
215
  },
212
216
  "dimension_names": [
213
- "eta_coarse",
214
- "xi_coarse"
217
+ "eta_rho",
218
+ "xi_rho"
215
219
  ],
216
220
  "zarr_format": 3,
217
221
  "node_type": "array",
218
222
  "storage_transformers": []
219
223
  },
220
- "mask_rho": {
224
+ "sigma_r": {
221
225
  "shape": [
222
- 3,
223
- 3
226
+ 100
224
227
  ],
225
- "data_type": "int32",
228
+ "data_type": "float32",
226
229
  "chunk_grid": {
227
230
  "name": "regular",
228
231
  "configuration": {
229
232
  "chunk_shape": [
230
- 3,
231
- 3
233
+ 100
232
234
  ]
233
235
  }
234
236
  },
@@ -238,7 +240,7 @@
238
240
  "separator": "/"
239
241
  }
240
242
  },
241
- "fill_value": 0,
243
+ "fill_value": 0.0,
242
244
  "codecs": [
243
245
  {
244
246
  "name": "bytes",
@@ -255,19 +257,18 @@
255
257
  }
256
258
  ],
257
259
  "attributes": {
258
- "long_name": "Mask at rho-points",
259
- "units": "land/water (0/1)",
260
- "coordinates": "lat_rho lon_rho"
260
+ "long_name": "Fractional vertical stretching coordinate at rho-points",
261
+ "units": "nondimensional",
262
+ "_FillValue": "AAAAAAAA+H8="
261
263
  },
262
264
  "dimension_names": [
263
- "eta_rho",
264
- "xi_rho"
265
+ "s_rho"
265
266
  ],
266
267
  "zarr_format": 3,
267
268
  "node_type": "array",
268
269
  "storage_transformers": []
269
270
  },
270
- "lat_coarse": {
271
+ "angle_coarse": {
271
272
  "shape": [
272
273
  2,
273
274
  2
@@ -305,8 +306,9 @@
305
306
  }
306
307
  ],
307
308
  "attributes": {
308
- "long_name": "latitude of rho-points on coarsened grid",
309
- "units": "degrees North",
309
+ "long_name": "Angle between xi axis and east on coarsened grid",
310
+ "units": "radians",
311
+ "coordinates": "lat_coarse lon_coarse",
310
312
  "_FillValue": "AAAAAAAA+H8="
311
313
  },
312
314
  "dimension_names": [
@@ -368,12 +370,12 @@
368
370
  "node_type": "array",
369
371
  "storage_transformers": []
370
372
  },
371
- "pm": {
373
+ "mask_rho": {
372
374
  "shape": [
373
375
  3,
374
376
  3
375
377
  ],
376
- "data_type": "float64",
378
+ "data_type": "int32",
377
379
  "chunk_grid": {
378
380
  "name": "regular",
379
381
  "configuration": {
@@ -389,7 +391,7 @@
389
391
  "separator": "/"
390
392
  }
391
393
  },
392
- "fill_value": 0.0,
394
+ "fill_value": 0,
393
395
  "codecs": [
394
396
  {
395
397
  "name": "bytes",
@@ -406,10 +408,9 @@
406
408
  }
407
409
  ],
408
410
  "attributes": {
409
- "long_name": "Curvilinear coordinate metric in xi-direction",
410
- "units": "meter-1",
411
- "coordinates": "lat_rho lon_rho",
412
- "_FillValue": "AAAAAAAA+H8="
411
+ "long_name": "Mask at rho-points",
412
+ "units": "land/water (0/1)",
413
+ "coordinates": "lat_rho lon_rho"
413
414
  },
414
415
  "dimension_names": [
415
416
  "eta_rho",
@@ -419,9 +420,9 @@
419
420
  "node_type": "array",
420
421
  "storage_transformers": []
421
422
  },
422
- "f": {
423
+ "lon_v": {
423
424
  "shape": [
424
- 3,
425
+ 2,
425
426
  3
426
427
  ],
427
428
  "data_type": "float64",
@@ -429,7 +430,7 @@
429
430
  "name": "regular",
430
431
  "configuration": {
431
432
  "chunk_shape": [
432
- 3,
433
+ 2,
433
434
  3
434
435
  ]
435
436
  }
@@ -457,31 +458,30 @@
457
458
  }
458
459
  ],
459
460
  "attributes": {
460
- "long_name": "Coriolis parameter at rho-points",
461
- "units": "second-1",
462
- "coordinates": "lat_rho lon_rho",
461
+ "long_name": "longitude of v-points",
462
+ "units": "degrees East",
463
463
  "_FillValue": "AAAAAAAA+H8="
464
464
  },
465
465
  "dimension_names": [
466
- "eta_rho",
466
+ "eta_v",
467
467
  "xi_rho"
468
468
  ],
469
469
  "zarr_format": 3,
470
470
  "node_type": "array",
471
471
  "storage_transformers": []
472
472
  },
473
- "lon_v": {
473
+ "mask_u": {
474
474
  "shape": [
475
- 2,
476
- 3
475
+ 3,
476
+ 2
477
477
  ],
478
- "data_type": "float64",
478
+ "data_type": "int32",
479
479
  "chunk_grid": {
480
480
  "name": "regular",
481
481
  "configuration": {
482
482
  "chunk_shape": [
483
- 2,
484
- 3
483
+ 3,
484
+ 2
485
485
  ]
486
486
  }
487
487
  },
@@ -491,7 +491,7 @@
491
491
  "separator": "/"
492
492
  }
493
493
  },
494
- "fill_value": 0.0,
494
+ "fill_value": 0,
495
495
  "codecs": [
496
496
  {
497
497
  "name": "bytes",
@@ -508,28 +508,30 @@
508
508
  }
509
509
  ],
510
510
  "attributes": {
511
- "long_name": "longitude of v-points",
512
- "units": "degrees East",
513
- "_FillValue": "AAAAAAAA+H8="
511
+ "long_name": "Mask at u-points",
512
+ "units": "land/water (0/1)",
513
+ "coordinates": "lat_u lon_u"
514
514
  },
515
515
  "dimension_names": [
516
- "eta_v",
517
- "xi_rho"
516
+ "eta_rho",
517
+ "xi_u"
518
518
  ],
519
519
  "zarr_format": 3,
520
520
  "node_type": "array",
521
521
  "storage_transformers": []
522
522
  },
523
- "Cs_w": {
523
+ "h": {
524
524
  "shape": [
525
- 101
525
+ 3,
526
+ 3
526
527
  ],
527
- "data_type": "float32",
528
+ "data_type": "float64",
528
529
  "chunk_grid": {
529
530
  "name": "regular",
530
531
  "configuration": {
531
532
  "chunk_shape": [
532
- 101
533
+ 3,
534
+ 3
533
535
  ]
534
536
  }
535
537
  },
@@ -556,18 +558,20 @@
556
558
  }
557
559
  ],
558
560
  "attributes": {
559
- "long_name": "Vertical stretching function at w-points",
560
- "units": "nondimensional",
561
+ "long_name": "Bathymetry at rho-points",
562
+ "units": "meter",
563
+ "coordinates": "lat_rho lon_rho",
561
564
  "_FillValue": "AAAAAAAA+H8="
562
565
  },
563
566
  "dimension_names": [
564
- "s_w"
567
+ "eta_rho",
568
+ "xi_rho"
565
569
  ],
566
570
  "zarr_format": 3,
567
571
  "node_type": "array",
568
572
  "storage_transformers": []
569
573
  },
570
- "h": {
574
+ "pn": {
571
575
  "shape": [
572
576
  3,
573
577
  3
@@ -605,8 +609,8 @@
605
609
  }
606
610
  ],
607
611
  "attributes": {
608
- "long_name": "Bathymetry at rho-points",
609
- "units": "meter",
612
+ "long_name": "Curvilinear coordinate metric in eta-direction",
613
+ "units": "meter-1",
610
614
  "coordinates": "lat_rho lon_rho",
611
615
  "_FillValue": "AAAAAAAA+H8="
612
616
  },
@@ -618,18 +622,16 @@
618
622
  "node_type": "array",
619
623
  "storage_transformers": []
620
624
  },
621
- "pn": {
625
+ "Cs_w": {
622
626
  "shape": [
623
- 3,
624
- 3
627
+ 101
625
628
  ],
626
- "data_type": "float64",
629
+ "data_type": "float32",
627
630
  "chunk_grid": {
628
631
  "name": "regular",
629
632
  "configuration": {
630
633
  "chunk_shape": [
631
- 3,
632
- 3
634
+ 101
633
635
  ]
634
636
  }
635
637
  },
@@ -656,32 +658,29 @@
656
658
  }
657
659
  ],
658
660
  "attributes": {
659
- "long_name": "Curvilinear coordinate metric in eta-direction",
660
- "units": "meter-1",
661
- "coordinates": "lat_rho lon_rho",
661
+ "long_name": "Vertical stretching function at w-points",
662
+ "units": "nondimensional",
662
663
  "_FillValue": "AAAAAAAA+H8="
663
664
  },
664
665
  "dimension_names": [
665
- "eta_rho",
666
- "xi_rho"
666
+ "s_w"
667
667
  ],
668
668
  "zarr_format": 3,
669
669
  "node_type": "array",
670
670
  "storage_transformers": []
671
671
  },
672
- "mask_coarse": {
673
- "shape": [
674
- 2,
675
- 2
676
- ],
677
- "data_type": "int32",
672
+ "spherical": {
673
+ "shape": [],
674
+ "data_type": {
675
+ "name": "null_terminated_bytes",
676
+ "configuration": {
677
+ "length_bytes": 1
678
+ }
679
+ },
678
680
  "chunk_grid": {
679
681
  "name": "regular",
680
682
  "configuration": {
681
- "chunk_shape": [
682
- 2,
683
- 2
684
- ]
683
+ "chunk_shape": []
685
684
  }
686
685
  },
687
686
  "chunk_key_encoding": {
@@ -690,13 +689,10 @@
690
689
  "separator": "/"
691
690
  }
692
691
  },
693
- "fill_value": 0,
692
+ "fill_value": "",
694
693
  "codecs": [
695
694
  {
696
- "name": "bytes",
697
- "configuration": {
698
- "endian": "little"
699
- }
695
+ "name": "bytes"
700
696
  },
701
697
  {
702
698
  "name": "zstd",
@@ -707,29 +703,24 @@
707
703
  }
708
704
  ],
709
705
  "attributes": {
710
- "long_name": "Mask at rho-points on coarsened grid",
711
- "units": "land/water (0/1)",
712
- "coordinates": "lat_coarse lon_coarse"
706
+ "Long_name": "Grid type logical switch",
707
+ "option_T": "spherical"
713
708
  },
714
- "dimension_names": [
715
- "eta_coarse",
716
- "xi_coarse"
717
- ],
718
709
  "zarr_format": 3,
719
710
  "node_type": "array",
720
711
  "storage_transformers": []
721
712
  },
722
- "mask_v": {
713
+ "lat_rho": {
723
714
  "shape": [
724
- 2,
715
+ 3,
725
716
  3
726
717
  ],
727
- "data_type": "int32",
718
+ "data_type": "float64",
728
719
  "chunk_grid": {
729
720
  "name": "regular",
730
721
  "configuration": {
731
722
  "chunk_shape": [
732
- 2,
723
+ 3,
733
724
  3
734
725
  ]
735
726
  }
@@ -740,7 +731,7 @@
740
731
  "separator": "/"
741
732
  }
742
733
  },
743
- "fill_value": 0,
734
+ "fill_value": 0.0,
744
735
  "codecs": [
745
736
  {
746
737
  "name": "bytes",
@@ -757,28 +748,30 @@
757
748
  }
758
749
  ],
759
750
  "attributes": {
760
- "long_name": "Mask at v-points",
761
- "units": "land/water (0/1)",
762
- "coordinates": "lat_v lon_v"
751
+ "long_name": "latitude of rho-points",
752
+ "units": "degrees North",
753
+ "_FillValue": "AAAAAAAA+H8="
763
754
  },
764
755
  "dimension_names": [
765
- "eta_v",
756
+ "eta_rho",
766
757
  "xi_rho"
767
758
  ],
768
759
  "zarr_format": 3,
769
760
  "node_type": "array",
770
761
  "storage_transformers": []
771
762
  },
772
- "Cs_r": {
763
+ "mask_coarse": {
773
764
  "shape": [
774
- 100
765
+ 2,
766
+ 2
775
767
  ],
776
- "data_type": "float32",
768
+ "data_type": "int32",
777
769
  "chunk_grid": {
778
770
  "name": "regular",
779
771
  "configuration": {
780
772
  "chunk_shape": [
781
- 100
773
+ 2,
774
+ 2
782
775
  ]
783
776
  }
784
777
  },
@@ -788,7 +781,7 @@
788
781
  "separator": "/"
789
782
  }
790
783
  },
791
- "fill_value": 0.0,
784
+ "fill_value": 0,
792
785
  "codecs": [
793
786
  {
794
787
  "name": "bytes",
@@ -805,21 +798,22 @@
805
798
  }
806
799
  ],
807
800
  "attributes": {
808
- "long_name": "Vertical stretching function at rho-points",
809
- "units": "nondimensional",
810
- "_FillValue": "AAAAAAAA+H8="
801
+ "long_name": "Mask at rho-points on coarsened grid",
802
+ "units": "land/water (0/1)",
803
+ "coordinates": "lat_coarse lon_coarse"
811
804
  },
812
805
  "dimension_names": [
813
- "s_rho"
806
+ "eta_coarse",
807
+ "xi_coarse"
814
808
  ],
815
809
  "zarr_format": 3,
816
810
  "node_type": "array",
817
811
  "storage_transformers": []
818
812
  },
819
- "lon_coarse": {
813
+ "lat_v": {
820
814
  "shape": [
821
815
  2,
822
- 2
816
+ 3
823
817
  ],
824
818
  "data_type": "float64",
825
819
  "chunk_grid": {
@@ -827,7 +821,7 @@
827
821
  "configuration": {
828
822
  "chunk_shape": [
829
823
  2,
830
- 2
824
+ 3
831
825
  ]
832
826
  }
833
827
  },
@@ -854,30 +848,29 @@
854
848
  }
855
849
  ],
856
850
  "attributes": {
857
- "long_name": "longitude of rho-points on coarsened grid",
858
- "units": "degrees East",
851
+ "long_name": "latitude of v-points",
852
+ "units": "degrees North",
859
853
  "_FillValue": "AAAAAAAA+H8="
860
854
  },
861
855
  "dimension_names": [
862
- "eta_coarse",
863
- "xi_coarse"
856
+ "eta_v",
857
+ "xi_rho"
864
858
  ],
865
859
  "zarr_format": 3,
866
860
  "node_type": "array",
867
861
  "storage_transformers": []
868
862
  },
869
- "spherical": {
870
- "shape": [],
871
- "data_type": {
872
- "name": "null_terminated_bytes",
873
- "configuration": {
874
- "length_bytes": 1
875
- }
876
- },
863
+ "sigma_w": {
864
+ "shape": [
865
+ 101
866
+ ],
867
+ "data_type": "float32",
877
868
  "chunk_grid": {
878
869
  "name": "regular",
879
870
  "configuration": {
880
- "chunk_shape": []
871
+ "chunk_shape": [
872
+ 101
873
+ ]
881
874
  }
882
875
  },
883
876
  "chunk_key_encoding": {
@@ -886,10 +879,13 @@
886
879
  "separator": "/"
887
880
  }
888
881
  },
889
- "fill_value": "",
882
+ "fill_value": 0.0,
890
883
  "codecs": [
891
884
  {
892
- "name": "bytes"
885
+ "name": "bytes",
886
+ "configuration": {
887
+ "endian": "little"
888
+ }
893
889
  },
894
890
  {
895
891
  "name": "zstd",
@@ -900,23 +896,29 @@
900
896
  }
901
897
  ],
902
898
  "attributes": {
903
- "Long_name": "Grid type logical switch",
904
- "option_T": "spherical"
899
+ "long_name": "Fractional vertical stretching coordinate at w-points",
900
+ "units": "nondimensional",
901
+ "_FillValue": "AAAAAAAA+H8="
905
902
  },
903
+ "dimension_names": [
904
+ "s_w"
905
+ ],
906
906
  "zarr_format": 3,
907
907
  "node_type": "array",
908
908
  "storage_transformers": []
909
909
  },
910
- "sigma_w": {
910
+ "mask_v": {
911
911
  "shape": [
912
- 101
912
+ 2,
913
+ 3
913
914
  ],
914
- "data_type": "float32",
915
+ "data_type": "int32",
915
916
  "chunk_grid": {
916
917
  "name": "regular",
917
918
  "configuration": {
918
919
  "chunk_shape": [
919
- 101
920
+ 2,
921
+ 3
920
922
  ]
921
923
  }
922
924
  },
@@ -926,7 +928,7 @@
926
928
  "separator": "/"
927
929
  }
928
930
  },
929
- "fill_value": 0.0,
931
+ "fill_value": 0,
930
932
  "codecs": [
931
933
  {
932
934
  "name": "bytes",
@@ -943,29 +945,30 @@
943
945
  }
944
946
  ],
945
947
  "attributes": {
946
- "long_name": "Fractional vertical stretching coordinate at w-points",
947
- "units": "nondimensional",
948
- "_FillValue": "AAAAAAAA+H8="
948
+ "long_name": "Mask at v-points",
949
+ "units": "land/water (0/1)",
950
+ "coordinates": "lat_v lon_v"
949
951
  },
950
952
  "dimension_names": [
951
- "s_w"
953
+ "eta_v",
954
+ "xi_rho"
952
955
  ],
953
956
  "zarr_format": 3,
954
957
  "node_type": "array",
955
958
  "storage_transformers": []
956
959
  },
957
- "lat_v": {
960
+ "lon_u": {
958
961
  "shape": [
959
- 2,
960
- 3
962
+ 3,
963
+ 2
961
964
  ],
962
965
  "data_type": "float64",
963
966
  "chunk_grid": {
964
967
  "name": "regular",
965
968
  "configuration": {
966
969
  "chunk_shape": [
967
- 2,
968
- 3
970
+ 3,
971
+ 2
969
972
  ]
970
973
  }
971
974
  },
@@ -992,30 +995,30 @@
992
995
  }
993
996
  ],
994
997
  "attributes": {
995
- "long_name": "latitude of v-points",
996
- "units": "degrees North",
998
+ "long_name": "longitude of u-points",
999
+ "units": "degrees East",
997
1000
  "_FillValue": "AAAAAAAA+H8="
998
1001
  },
999
1002
  "dimension_names": [
1000
- "eta_v",
1001
- "xi_rho"
1003
+ "eta_rho",
1004
+ "xi_u"
1002
1005
  ],
1003
1006
  "zarr_format": 3,
1004
1007
  "node_type": "array",
1005
1008
  "storage_transformers": []
1006
1009
  },
1007
- "lon_rho": {
1010
+ "lon_coarse": {
1008
1011
  "shape": [
1009
- 3,
1010
- 3
1012
+ 2,
1013
+ 2
1011
1014
  ],
1012
1015
  "data_type": "float64",
1013
1016
  "chunk_grid": {
1014
1017
  "name": "regular",
1015
1018
  "configuration": {
1016
1019
  "chunk_shape": [
1017
- 3,
1018
- 3
1020
+ 2,
1021
+ 2
1019
1022
  ]
1020
1023
  }
1021
1024
  },
@@ -1042,19 +1045,19 @@
1042
1045
  }
1043
1046
  ],
1044
1047
  "attributes": {
1045
- "long_name": "longitude of rho-points",
1048
+ "long_name": "longitude of rho-points on coarsened grid",
1046
1049
  "units": "degrees East",
1047
1050
  "_FillValue": "AAAAAAAA+H8="
1048
1051
  },
1049
1052
  "dimension_names": [
1050
- "eta_rho",
1051
- "xi_rho"
1053
+ "eta_coarse",
1054
+ "xi_coarse"
1052
1055
  ],
1053
1056
  "zarr_format": 3,
1054
1057
  "node_type": "array",
1055
1058
  "storage_transformers": []
1056
1059
  },
1057
- "lat_rho": {
1060
+ "lon_rho": {
1058
1061
  "shape": [
1059
1062
  3,
1060
1063
  3
@@ -1092,8 +1095,8 @@
1092
1095
  }
1093
1096
  ],
1094
1097
  "attributes": {
1095
- "long_name": "latitude of rho-points",
1096
- "units": "degrees North",
1098
+ "long_name": "longitude of rho-points",
1099
+ "units": "degrees East",
1097
1100
  "_FillValue": "AAAAAAAA+H8="
1098
1101
  },
1099
1102
  "dimension_names": [
@@ -1104,18 +1107,16 @@
1104
1107
  "node_type": "array",
1105
1108
  "storage_transformers": []
1106
1109
  },
1107
- "lon_u": {
1110
+ "Cs_r": {
1108
1111
  "shape": [
1109
- 3,
1110
- 2
1112
+ 100
1111
1113
  ],
1112
- "data_type": "float64",
1114
+ "data_type": "float32",
1113
1115
  "chunk_grid": {
1114
1116
  "name": "regular",
1115
1117
  "configuration": {
1116
1118
  "chunk_shape": [
1117
- 3,
1118
- 2
1119
+ 100
1119
1120
  ]
1120
1121
  }
1121
1122
  },
@@ -1142,13 +1143,12 @@
1142
1143
  }
1143
1144
  ],
1144
1145
  "attributes": {
1145
- "long_name": "longitude of u-points",
1146
- "units": "degrees East",
1146
+ "long_name": "Vertical stretching function at rho-points",
1147
+ "units": "nondimensional",
1147
1148
  "_FillValue": "AAAAAAAA+H8="
1148
1149
  },
1149
1150
  "dimension_names": [
1150
- "eta_rho",
1151
- "xi_u"
1151
+ "s_rho"
1152
1152
  ],
1153
1153
  "zarr_format": 3,
1154
1154
  "node_type": "array",