Preparation dem.asc and latlon.nc #83
-
I'm preparing the dem.asc and latlon.nc. Another question is why there are 3 layers of latlon.nc. xc_l0 and yc_l0 is for morph, xc and yc is for meteo, how about the xc_l11 and yc_l11? How to get a latlon.nc by the available data. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
And I confused about "resolution hydrology = 24000" of the test domain, how was this number calculated. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply, I have learned how to get latlon.nc by using the provided program in python. |
Beta Was this translation helpful? Give feedback.
-
Allow me to confirm with you that the resolution refer to cellsize. |
Beta Was this translation helpful? Give feedback.
-
Hi, I modified the resolution to float, what's the following error means? |
Beta Was this translation helpful? Give feedback.
-
Wow! The good news here is that I have successfully run mhm model based on decimal degrees data. I changed the file in test_domain accordingly. For example, change the information about *.asc to the following: But there's one thing still confuses me. How to get the value of resolution_Hydrology? |
Beta Was this translation helpful? Give feedback.
Hi @9202014710
I guess I should have provided an example with decimal degrees for the resolutions. E.g.
L0
= 0.001953125 (1/512 or 1/ 2^9 degree)L2
= 0.25 (1/4 or 1/ 2^2 degree)L1' =
L11` = 0.125 (1/8 or 1/ 2^3 degree)Thus with iFlag_cordinate_sys = 1 you can enter integer or decimal values for
L1
andL11
in mhm.nml.Just keep in mind that mHM behaves the best in systems where
L2
is a multiple ofL1
(andL11
) which in turn is a multiple ofL0
, as in the above example. E.g. 0.001953125 x 64 = 0.125 and 0.125 x 2 = 0.25.In your case,
L0
= 0.00011268696206158 which can be a bit hard to work with. Perhaps converting it into a nearby resolution of 1/(2^n) might help, assuming that the reso…