-
Notifications
You must be signed in to change notification settings - Fork 61
Description
In JRA55do, the source files provide u & v components of wind vectors are in seperate files.
CDEPS has capability to remap vectors when the data is within the same stream, however streams require all variables to be within one file (for any timestep).
Our preference is not to have to modify or make copies of the original forcing files but there doesn't seem to be any other way to do vector remapping for these fields? The requirement that all variables are within the same source file for a stream, and that each stream is remapped individually appears fairly ingrained in the implementation of CDEPS?
Does anyone have any suggestions on a not terribly complicated way to implement this ?
as an example, we currently use this:
<stream_info name="JRA55do.U_10">
<taxmode>cycle</taxmode>
<dtlimit>1.0</dtlimit>
<readmode>single</readmode>
<mapalgo>patch</mapalgo>
<year_first>1900</year_first>
<year_last>1900</year_last>
<year_align>1900</year_align>
<vectors>null</vectors>
<meshfile>./INPUT/JRA55do-datm-ESMFmesh.nc</meshfile>
<lev_dimname>null</lev_dimname>
<datafiles>
<file>./INPUT/RYF.uas.1990_1991.nc</file>
</datafiles>
<datavars>
<var>uas Sa_u</var>
</datavars>
<offset>0</offset>
<tintalgo>linear</tintalgo>
</stream_info>
<stream_info name="JRA55do.V_10">
<taxmode>cycle</taxmode>
<dtlimit>1.0</dtlimit>
<readmode>single</readmode>
<mapalgo>patch</mapalgo>
<year_first>1900</year_first>
<year_last>1900</year_last>
<year_align>1900</year_align>
<vectors>null</vectors>
<meshfile>./INPUT/JRA55do-datm-ESMFmesh.nc</meshfile>
<lev_dimname>null</lev_dimname>
<datafiles>
<file>./INPUT/RYF.vas.1990_1991.nc</file>
</datafiles>
<datavars>
<var>vas Sa_v</var>
</datavars>
<offset>0</offset>
<tintalgo>linear</tintalgo>
</stream_info>
and would like to do something like:
<stream_info name="JRA55do.UV_10">
<taxmode>cycle</taxmode>
<dtlimit>1.0</dtlimit>
<readmode>single</readmode>
<mapalgo>patch</mapalgo>
<year_first>1900</year_first>
<year_last>1900</year_last>
<year_align>1900</year_align>
<vectors>Sa_u:Sa_v</vectors>
<meshfile>./INPUT/JRA55do-datm-ESMFmesh.nc</meshfile>
<lev_dimname>null</lev_dimname>
<datafiles>
<file>./INPUT/RYF.uas.1990_1991.nc</file>
<file>./INPUT/RYF.vas.1990_1991.nc</file>
</datafiles>
<datavars>
<var>uas Sa_u</var>
<var>vas Sa_v</var>
</datavars>
<offset>0</offset>
<tintalgo>linear</tintalgo>
</stream_info>
</file>