Comments (5)
I'm not sure I quite understand what is happening. It has to create the LUT in memory, but it shouldn't write the file if write_LUT is false. Are you sure it is reading the namelist you have edited? When it writes the LUT to disk, does it print anything to the screen?
The relevant code is here: https://github.com/NCAR/icar/blob/master/physics/linear_winds.f90#L991
if ((options%lt_options%write_LUT).and.(.not.reverse)) then
if ((options%lt_options%read_LUT) .and. (error == 0)) then
print*, "Not writing Linear Theory LUT to file because LUT was read from file"
else
print*, "Writing Linear Theory LUT to file: ", trim(options%lt_options%u_LUT_Filename)
error = write_LUT(options%lt_options%u_LUT_Filename, hi_u_LUT, hi_v_LUT, options%dz_levels, options%lt_options)
endif
endif
from icar.
Or do you just mean that it is recomputing the LUT even when it should be reading it from disk? It should print out some information if it is or is not able to read the LUT. Do you get such an error message?
see https://github.com/NCAR/icar/blob/master/physics/linear_winds.f90#L903
print*, "Reading LUT from file: ", trim(options%lt_options%u_LUT_Filename)
error = read_LUT(options%lt_options%u_LUT_Filename, hi_u_LUT, hi_v_LUT, options%dz_levels, LUT_dims, options%lt_options)
if (error/=0) then
write(*,*) "WARNING: LUT on disk does not match that specified in the namelist or does not exist."
write(*,*) " LUT will be recreated"
from icar.
I have attached a log and my namelist of the icar run. ICAR was compiled using MODE=debug. I think the error at the end might have to do with the compile option as just using 'make' results in a failed build, but 'make MODE=debug' is successful.
from icar.
ah, this probably isn't as clear as it should be. Many of the namelists are not even read if you dont' set the corresponding "use_X_options" to true in the main parameter namelist. In this case, you need to set use_lt_options=true so that it will read the options related to linear theory.
https://github.com/NCAR/icar/blob/master/run/complete_icar_options.nml#L164
from icar.
It would help if I read every line of the full options namelist. Maybe I will add this to the docs or FAQ
from icar.
Related Issues (20)
- lsm=0 and LSM vars defined causes crash HOT 1
- upper level wind anomaly HOT 2
- More generalized `gen_ideal_test.py` HOT 5
- Github Actions doesn't fail on STOP HOT 1
- fixed_dz_advection: include in code | remove from namelist HOT 1
- More sophisticated PBL scheme (PBL height)
- iterative wind solver and wind rotation parallel bug HOT 1
- cu_tiedtke.f90 divide by zero HOT 9
- BUG: Spatial interpolation can produce negative values in positive fields HOT 1
- Permit varying "base" pressure
- compile ICAR HOT 1
- Output variable statistics
- Possible bug in LUT code (develop) HOT 2
- Interpolation/triangulation error HOT 3
- Vertical downward extrapolation of forcing data
- intermittent interpolation bug HOT 1
- running icar issue HOT 3
- Compilation error for domain_obj.f90 HOT 5
- Improve time handling
- Update CI now that Travis has moved on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icar.