weather

21 views
Skip to first unread message

Raul Villanueva

unread,
Apr 28, 2015, 10:29:14 AM4/28/15
to daisy...@googlegroups.com
Hello,

I am starting with Daisy, and for some reason I cannot seem to be able to run a simulation. I did he exercises succesfully, but now that I´ve built my own files (management and weather) I get a consistent error. The error is shown as folows:
* weather: default weather_initialize
No data for 'Latitude' (error)
No data for 'Longitude' (error)
No data for 'Elevation' (error)
No data for 'TimeZone' (error)
No data for 'ScreenHeight' (error)
No data for 'TAverage' (error)
No data for 'TAmplitude' (error)
No data for 'MaxTDay' (error)
No data for 'GlobRad' (error)
No data for 'AirTemp' (error)
No data for 'Rain' (error)
No data for 'Snow' (error)
No data for 'DayLength' (error)
No data for 'Sunrise' (error)
No data for 'DailyAirTemp' (error)
No data for 'DailyGlobRad' (error)
No data for 'DailyPrecip' (error)

I know the log is pretty straight forwardly telling me I have no data for these variables, but I do have them in my weather file. I have change otes, orders and everything I could imagine within the .dwf file, but I always get the same error. What could the reason be?

Best regards,

Raúl

Per Abrahamsen

unread,
Apr 28, 2015, 10:32:56 AM4/28/15
to Raul Villanueva, daisy...@googlegroups.com
It is usually because the weather data doesn't covers the simulation period.

You should make sure "Begin:" in the weather file is at least two days before (time ...) in the Daisy setup file.

Regards,

Per

--

---
You received this message because you are subscribed to the Google Groups "Daisy soil plant atmosphere system model" group.
To unsubscribe from this group and stop receiving emails from it, send an email to daisy-model...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raul Villanueva

unread,
May 5, 2015, 8:44:59 AM5/5/15
to daisy...@googlegroups.com, raul.vil...@gmail.com
Hello,

I now want to simulate for a specific arid climate. For now, I don´t want any crops on my system, but I need to input vegetation. I used the permanent-based Hardwood vegetation model already loaded into Daisy in order to define a new vegetation for my site, changing only the parameters for the data I have avaiable. Namely, LAIvsDAY and Root penetration. The input I did as follows, but I am not sure if it is correct:

(defvegetation Hardwood_Site Hardwood 
  (LAIvsDAY (1 8.0) (33 9.0) (97 6.0) (121 7.0) (153 6.0) (185 6.0) (217 5.0) (249 4.0) (305 7.0) (337 4.0))  ;LAI from MODIS (Radar data) for the year 2014
  (Height 1000.0)
  (Albedo 0.16)           
  (Root (MaxPen 230.0)))
  
   
;;  Parameterisation of column (Sand)
(defcolumn "Site Sand" default
     "Discretization of the sand column at the site"
     (Vegetation Hardwood_Site)
     (SoilWater (initial_Theta (-5 [cm] 0.04 [])))
     .
     .          ;additional parameters
     . 

I suppose there is no mistake neither on how I defined a new vegetation, nor in the command made for the assignment of the newly defined vegetation cover to the column. The progra starts running, and stops for several minutes once it reaches "Begin simulation." Afterwards, it stops and give an error which I don´t understand and had not encountered before:

          Begin simulation
          Standard exception: St9bad_alloc: std::bad_alloc (error)

          Tool completed with exit code 1

I would like to know if this is my mistake in input or, if not, what does this mean and how can I fix it.

Best regards,

Raúl

Per Abrahamsen

unread,
May 5, 2015, 8:55:38 AM5/5/15
to Raul Villanueva, daisy...@googlegroups.com
I haven't seen that error before. A quick guess would be that it is related to (initial_Theta (-5 [cm] 0.04 [])). Does it run if you remove it?

If so, try to replace it with 

(h -15000 [cm])

specifying an extremely dry soil.

Regards,

Per

Raul Villanueva

unread,
May 5, 2015, 9:15:38 AM5/5/15
to daisy...@googlegroups.com, raul.vil...@gmail.com
Hi,

I tried what you suggested, but I obtained the same results. In any case, I have been trying to run the simulation correctly with every peace of inforation I add. That is, each time I add new parameters, define anything extra, or modify anything, I make sure the run is successful. I had already run the prgram with that initial theta, encountering no problem (other than that I first tried 2%, but since it was lower than my theta_res, it procured an error). Anyways, this means the problem should be in the vegetation definition. Was there any mistake in my input? I assumed not, since you didn´t mention anything. In any case, what should I keep in mind when defining the new vgetation cover?

Hopefully this is a minor bump. Thank you for your help.

Best regards,

Raúl

Per Abrahamsen

unread,
May 5, 2015, 9:48:38 AM5/5/15
to Raul Villanueva, daisy...@googlegroups.com
Try to send me a minimal setup file that generates the problem.

Regards,

Per

Raul Villanueva

unread,
May 5, 2015, 9:59:49 AM5/5/15
to daisy...@googlegroups.com, raul.vil...@gmail.com
These are the used files. The seetup file is very small, hence the simulation is fast. 
daisy.log
Eenhana3.dai
weather_Ogongo.dwf

Per Abrahamsen

unread,
May 5, 2015, 10:22:39 AM5/5/15
to Raul Villanueva, daisy...@googlegroups.com
The hydraulic conductivity curve calculated from these parameters is too steep for Daisy to handle. If you comment this out and let Daisy calculate the M_vG parameters itself (using HYPRES), the simulation runs. Alternatively, you can try to fit one of the other models in Daisy (Brooks and Corey or Campbell) to your measurements.

;;    (hydraulic M_vG (Theta_res 0.035 [cm^3 H2O/cm^3])    ;Mualem-van Genuchten model parameters calculated from field sample - BGR
;;                    (Theta_sat 0.354 [cm^3 H2O/cm^3])
;;                    (alpha 0.02545 [cm^-1])
;;                    (n 5.8185 [])
;;                    (K_sat 2490.6795 [cm/d]))

Reply all
Reply to author
Forward
0 new messages