Skip to content

Commit

Permalink
need to mkdir for ocean/ice first
Browse files Browse the repository at this point in the history
  • Loading branch information
weihuang-jedi committed Aug 28, 2024
1 parent c322afa commit 5dd063a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobs/JGLOBAL_OCEANICE_PRODUCTS
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ YMD="${PDY}" HH="${cyc}" declare_from_tmpl -rx "COM_${COMPONENT^^}_HISTORY"
YMD="${PDY}" HH="${cyc}" declare_from_tmpl -rx "COM_${COMPONENT^^}_GRIB"
YMD="${PDY}" HH="${cyc}" declare_from_tmpl -rx "COM_${COMPONENT^^}_NETCDF"

YMD="${PDY}" HH="${cyc}" declare_from_tmpl -rx "BUCKET_${COMPONENT^^}_GRIB"
YMD="${PDY}" HH="${cyc}" declare_from_tmpl -rx "BUCKET_${COMPONENT^^}_NETCDF"

###############################################################
# Run exglobal script
"${SCRgfs}/exglobal_oceanice_products.py"
Expand Down
4 changes: 4 additions & 0 deletions parm/post/oceanice_products.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ ocean:
data_out:
mkdir:
- "{{ COM_OCEAN_NETCDF }}"
- "{{ BUCKET_OCEAN_NETCDF }}"
{% for grid in product_grids %}
- "{{ COM_OCEAN_GRIB }}/{{ grid }}"
- "{{ BUCKET_OCEAN_GRIB }}/{{ grid }}"
{% endfor %}
copy:
- ["{{ DATA }}/ocean_subset.nc", "{{ COM_OCEAN_NETCDF }}/{{ RUN }}.ocean.t{{ current_cycle | strftime('%H') }}z.native.f{{ '%03d' % forecast_hour }}.nc"]
Expand Down Expand Up @@ -70,8 +72,10 @@ ice:
data_out:
mkdir:
- "{{ COM_ICE_NETCDF }}"
- "{{ BUCKET_ICE_NETCDF }}"
{% for grid in product_grids %}
- "{{ COM_ICE_GRIB }}/{{ grid }}"
- "{{ BUCKET_ICE_GRIB }}/{{ grid }}"
{% endfor %}
copy:
- ["{{ DATA }}/ice_subset.nc", "{{ COM_ICE_NETCDF }}/{{ RUN }}.ice.t{{ current_cycle | strftime('%H') }}z.native.f{{ '%03d' % forecast_hour }}.nc"]
Expand Down

0 comments on commit 5dd063a

Please sign in to comment.