From 5dd063acf6ed3d44131990207fa4c5bdda63a821 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Wed, 28 Aug 2024 21:36:26 +0000 Subject: [PATCH] need to mkdir for ocean/ice first --- jobs/JGLOBAL_OCEANICE_PRODUCTS | 3 +++ parm/post/oceanice_products.yaml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/jobs/JGLOBAL_OCEANICE_PRODUCTS b/jobs/JGLOBAL_OCEANICE_PRODUCTS index 4303e26c47..c1d5b31615 100755 --- a/jobs/JGLOBAL_OCEANICE_PRODUCTS +++ b/jobs/JGLOBAL_OCEANICE_PRODUCTS @@ -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" diff --git a/parm/post/oceanice_products.yaml b/parm/post/oceanice_products.yaml index ed12bf493c..8ccb300a75 100644 --- a/parm/post/oceanice_products.yaml +++ b/parm/post/oceanice_products.yaml @@ -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"] @@ -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"]