NCAR / hrldas

HRLDAS (High Resolution Land Data Assimilation System)
Other
50 stars 53 forks source link

Running with non-global forcing data #185

Closed leiapauline closed 5 months ago

leiapauline commented 5 months ago

Hello,

I want to run hrldas with my forcing data over 85-165E, -15,35N. I want to reduce the space needed for my input data because our study area is only over a city. What I did was to subset the Zfile and LANDSfile over the same domain as my forcing data. But when I run ./create_forcing.exe, I get an error stating that the z variable can't be read. I checked their structures but I couldn't see any difference. Is there a way for me to make this run possible? I am currently using hrldas on a docker desktop for windows. Any guidance will be much appreciated.

Sincerely, Leia Pauline

cenlinhe commented 5 months ago

what forcing dataset are you using? ERA5-land? GLDAS? or something else?

leiapauline commented 5 months ago

I am using ERA5-Land. If it can help, my input files can be found here.

tslin2 commented 5 months ago

Hi,

You will have to revise the subroutine code for the regional files, and recompile it (create_forcing.F) due to the default code being read Zfile and LANDSfile as the global domain.

https://github.com/NCAR/hrldas/blob/087f1fd78601b37eaeead93da9f30253441f7cc2/hrldas/HRLDAS_forcing/create_forcing.F#L2090

You should change these two parts at least. https://github.com/NCAR/hrldas/blob/087f1fd78601b37eaeead93da9f30253441f7cc2/hrldas/HRLDAS_forcing/create_forcing.F#L2100 https://github.com/NCAR/hrldas/blob/087f1fd78601b37eaeead93da9f30253441f7cc2/hrldas/HRLDAS_forcing/create_forcing.F#L2135

leiapauline commented 5 months ago

Thanks for the guidance. The recompiled version is running.