-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing SNOW_FILE for ice_ocean_SIS2/OM4_05 #240
Comments
The SNOW_FILE variables you show are from source code in the ocean-only
driver. The OM4_05 directory you are looking at is a coupled ice-ocean
configuration and uses config_src/coupled_driver, which is an interface for
the coupler. The coupled driver uses the q_10_mod.clim.nc file from the
CORE dataset and provides liquid and frozen precipitation to SIS2 and then
passes non-intercepted fluxes to MOM. All fluxes are passed as arguments at
the top of the model from the coupler (MOM doesn't read the files). The
file `data_table` defines which files the coupler will read in lieu of
atmosphere/land models.
The ice-ocean coupled mode is complied differently from the solo mode:
https://github.com/NOAA-GFDL/MOM6-examples/wiki/Getting-started#compiling-mom6-in-mom6-sis2-coupled-mode
…--
Dr Alistair Adcroft ([email protected])
Princeton University Tel: (609) 987-5073
NOAA/GFDL, 201 Forrestal Road, Princeton, NJ 08540
On Mon, Sep 10, 2018 at 1:51 AM VLIUNSW ***@***.***> wrote:
Hi,
*Would anyone please tell me which input file contains SNOW_FILE, or how
to fix the following problem?*
I got the following error message when I tried to run OM4_05:
*FATAL from PE 0: Unable to find variable SNOW_FILE in any input files.*
When I did a search in MOM6-examples:
grep -r "SNOW_FILE"
config_src/ice_solo_driver/MOM_surface_forcing.F90: call
get_param(param_file, mdl, "SNOW_FILE", CS%snow_file, &
config_src/solo_driver/MOM_surface_forcing.F90: call get_param(param_file,
mdl, "SNOW_FILE", CS%snow_file, &
config_src/solo_driver/MOM_surface_forcing.F90: call get_param(param_file,
mdl, "SNOW_FILE", CS%snow_file, &
*Which file is the param_file that sets CS%snow_file?*
*Could it be something wrong in the linking?*
*I have downloaded datasets from ftp://ftp.gfdl.noaa.gov/pub/aja/datasets/
<ftp://ftp.gfdl.noaa.gov/pub/aja/datasets/> and linked them.*
When I did
*tree MOM6-examples/ice_ocean_SIS2/OM4_05/INPUT*
the results were:
|-- MOM_channels_global_025 -> ../../OM4_025/INPUT/MOM_channels_global_025
|-- WOA05_pottemp_salt.nc -> .datasets/obs/WOA05_pottemp_salt.nc
|-- analysis_vgrid_lev35.v1.cdl
|-- analysis_vgrid_lev35.v1.nc
|-- atmos_mosaic_tile1Xland_mosaic_tile1.nc ->
.datasets/OM4_05/mosaic.v20180227.unpacked/atmos_mosaic_tile1Xland_mosaic_tile1.nc
|-- atmos_mosaic_tile1Xocean_mosaic_tile1.nc ->
.datasets/OM4_05/mosaic.v20180227.unpacked/atmos_mosaic_tile1Xocean_mosaic_tile1.nc
|-- basin.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/basin_codes.nc
|-- geothermal_davies2013_v1.nc -> .datasets/OM4_05/INPUT/
geothermal_davies2013_v1.nc
|-- grid_spec.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/
grid_spec.nc
|-- hycom1_75_800m.cdl -> ../../OM4_025/INPUT/hycom1_75_800m.cdl
|-- hycom1_75_800m.nc -> ../../OM4_025/INPUT/hycom1_75_800m.nc
|-- land_mask.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/
land_mask.nc
|-- land_mosaic_tile1Xocean_mosaic_tile1.nc ->
.datasets/OM4_05/mosaic.v20180227.unpacked/land_mosaic_tile1Xocean_mosaic_tile1.nc
|-- layer_coord.nc -> ../../OM4_025/INPUT/layer_coord.nc
|-- ncar_precip.clim.nc -> .datasets/CORE/NYF_v2.0/ncar_precip.clim.nc
|-- ncar_rad.clim.nc -> .datasets/CORE/NYF_v2.0/ncar_rad.clim.nc
|-- ocean_hgrid.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/
ocean_hgrid.nc
|-- ocean_mask.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/
ocean_mask.nc
|-- ocean_mosaic.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/
ocean_mosaic.nc
|-- ocean_topog.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/
ocean_topog.nc
|-- q_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/q_10_mod.clim.nc
|-- runoff.daitren.clim.v2011.02.10a.720x576.nc -> .datasets/OM4_05/INPUT/
runoff.daitren.clim.720x576.v20180328.nc
|-- salt_restore.v2015.12.03.nc -> .datasets/OM4_05/INPUT/
salt_restore_PHC2.720x576.v20180405.nc
|-- seawifs_1998-2006_smoothed_2X.v2015.12.03.nc ->
.datasets/OM4_05/INPUT/seawifs_1998-2006_smoothed_2X.v2015.12.03.nc
|-- slp.clim.nc -> .datasets/CORE/NYF_v2.0/slp.clim.nc
|-- t_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/t_10_mod.clim.nc
|-- tidal_amplitude.v2015.12.03.nc -> .datasets/OM4_05/INPUT/
tidal_amplitude.nc
|-- topog.nc -> ocean_topog.nc
|-- u_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/u_10_mod.clim.nc
`-- v_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/v_10_mod.clim.nc
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#240>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AFlo8xpDG1qZXHM7Iisr2DB6Sbx3tyk0ks5uZf32gaJpZM4WgwAW>
.
|
Just to confirm, are you using the ocean only executable or the
ice_ocean_SIS2 executable? For this test case you should be using the
latter.
In general for the ice_ocean_SIS2 cases and for OM4_05, the surface forcing
fields are defined in data_table. In there you'll see that the SNOW field
can be found in INPUT/ncar_precip.clim.nc which should be a symlink. Can
you check to make sure that you've setup your datasets correctly by doing
an 'ncdump -h INPUT/ncar_precip.clim.nc' from within the OM4_05 directory?
.
|
@ashao is right, ncar_precip.clim.nc has precip, the q file I mentioned is used for calculating evaporation. |
@adcroft @ashao Thank you very much! However, @adcroft was right that I did use solo_driver instead of config_src/coupled_driver. |
I imagine if the solo driver compiled then the environment setup is
correct. Are the submodule versions all consistent?
Do a `git submodule status` in the MOM6-examples directory and it will show
you something like this:
```
34097d072ca2913668350ebd1a04957516c8fb67 src/FMS (warsaw_201710)
f7e79b3 src/MOM6 (ulm-4531-gf7e79b31d)
b47317d68336ee8f5be1f2a65eeb7293f0ebc2a7 src/SIS2
(fix_esm_dust_flux_2016.05.26-522-gb47317d)
a149b0b6d2375c2221d108c44283a14dbdaaf404 src/atmos_null (warsaw)
530e9a184fd47600b0f0a2a87060466cbe13a862 src/coupler (warsaw-15-g530e9a1)
b114a809187317909e19fdca7ff843f2a603f011 src/icebergs (heads/dev/gfdl)
b7a8d92ade6125ae7281dd1ca84078ce226440b4 src/land_null (warsaw)
cf12a97a730e6cc5e38a3b92cb9f698dfcf2420c src/mkmf (v19.2.0-4-gcf12a97)
8196cfd25abc0c8e074333c4abc17a20a05b7a8a tools/analysis/mpl-cmocean
370b1de16616fd19fc30a249a3f96172c2c8506b tools/matlab/gtools (heads/master)
446ea813e2d64a4a10f8209deea905bed64bc1b0 tools/python/MIDAS (446ea81)
```
You'll have different hashes depending on the version of MOM6-examples but
no "-" or "+" signs at the beginning. If you do, it means something is out
of sync.
|
@adcroft Thanks a lot. I do have a couple of "+" signs. +0d7b6225ac7b620cbe9d71b81258ac99ce4e609e src/MOM6 (dev/master/repository_split_2014.10.10-4559-g0d7b622) +e22242f7b30824b886f20e1f4cb8b2c7fd54f05f src/mkmf (v19.2.0-3-ge22242f) I will update those submodules and have another try. Thanks again. |
Hi,
Would anyone please tell me which input file contains SNOW_FILE, or how to fix the following problem?
I got the following error message when I tried to run OM4_05:
FATAL from PE 0: Unable to find variable SNOW_FILE in any input files.
When I did a search in MOM6-examples:
grep -r "SNOW_FILE"
config_src/ice_solo_driver/MOM_surface_forcing.F90: call get_param(param_file, mdl, "SNOW_FILE", CS%snow_file, &
config_src/solo_driver/MOM_surface_forcing.F90: call get_param(param_file, mdl, "SNOW_FILE", CS%snow_file, &
config_src/solo_driver/MOM_surface_forcing.F90: call get_param(param_file, mdl, "SNOW_FILE", CS%snow_file, &
Which file is the param_file that sets CS%snow_file?
Could it be something wrong in the linking?
I have downloaded datasets from ftp://ftp.gfdl.noaa.gov/pub/aja/datasets/ and linked them.
When I did
tree MOM6-examples/ice_ocean_SIS2/OM4_05/INPUT
the results were:
|-- MOM_channels_global_025 -> ../../OM4_025/INPUT/MOM_channels_global_025
|-- WOA05_pottemp_salt.nc -> .datasets/obs/WOA05_pottemp_salt.nc
|-- analysis_vgrid_lev35.v1.cdl
|-- analysis_vgrid_lev35.v1.nc
|-- atmos_mosaic_tile1Xland_mosaic_tile1.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/atmos_mosaic_tile1Xland_mosaic_tile1.nc
|-- atmos_mosaic_tile1Xocean_mosaic_tile1.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/atmos_mosaic_tile1Xocean_mosaic_tile1.nc
|-- basin.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/basin_codes.nc
|-- geothermal_davies2013_v1.nc -> .datasets/OM4_05/INPUT/geothermal_davies2013_v1.nc
|-- grid_spec.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/grid_spec.nc
|-- hycom1_75_800m.cdl -> ../../OM4_025/INPUT/hycom1_75_800m.cdl
|-- hycom1_75_800m.nc -> ../../OM4_025/INPUT/hycom1_75_800m.nc
|-- land_mask.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/land_mask.nc
|-- land_mosaic_tile1Xocean_mosaic_tile1.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/land_mosaic_tile1Xocean_mosaic_tile1.nc
|-- layer_coord.nc -> ../../OM4_025/INPUT/layer_coord.nc
|-- ncar_precip.clim.nc -> .datasets/CORE/NYF_v2.0/ncar_precip.clim.nc
|-- ncar_rad.clim.nc -> .datasets/CORE/NYF_v2.0/ncar_rad.clim.nc
|-- ocean_hgrid.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/ocean_hgrid.nc
|-- ocean_mask.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/ocean_mask.nc
|-- ocean_mosaic.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/ocean_mosaic.nc
|-- ocean_topog.nc -> .datasets/OM4_05/mosaic.v20180227.unpacked/ocean_topog.nc
|-- q_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/q_10_mod.clim.nc
|-- runoff.daitren.clim.v2011.02.10a.720x576.nc -> .datasets/OM4_05/INPUT/runoff.daitren.clim.720x576.v20180328.nc
|-- salt_restore.v2015.12.03.nc -> .datasets/OM4_05/INPUT/salt_restore_PHC2.720x576.v20180405.nc
|-- seawifs_1998-2006_smoothed_2X.v2015.12.03.nc -> .datasets/OM4_05/INPUT/seawifs_1998-2006_smoothed_2X.v2015.12.03.nc
|-- slp.clim.nc -> .datasets/CORE/NYF_v2.0/slp.clim.nc
|-- t_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/t_10_mod.clim.nc
|-- tidal_amplitude.v2015.12.03.nc -> .datasets/OM4_05/INPUT/tidal_amplitude.nc
|-- topog.nc -> ocean_topog.nc
|-- u_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/u_10_mod.clim.nc
`-- v_10_mod.clim.nc -> .datasets/CORE/NYF_v2.0/v_10_mod.clim.nc
The text was updated successfully, but these errors were encountered: