[Wrf-users] Changing land use

mmkamal at uwaterloo.ca mmkamal at uwaterloo.ca
Wed Jun 1 19:48:36 MDT 2011


Hi Hameed,


I am sorry that I forget to include the link of R package. Here you go  
the links:

http://www.r-project.org/

How to read binary data using R:

http://www.ats.ucla.edu/stat/r/faq/read_binary.htm

To write binary data :

http://www.ats.ucla.edu/stat/r/faq/write_binary_bycolumn.htm

Hope the above link will help you.

Thanks
Kamal







Quoting Saji Hameed <saji at u-aizu.ac.jp>:

> I guess NCL also can be used to modify both the netcdf files (geogrid*.nc)
> or the binary source files that geogrid.exe uses...
>
> saji
>
> On Wed, Jun 1, 2011 at 6:50 AM, <mmkamal at uwaterloo.ca> wrote:
>
>> Hi Hamed,
>>
>> I am currently working on some land use sensitivity experiment and I
>> used an open source statistical package called "R" to read the land
>> use binary data (inside the geog directory of the data set). Using R I
>> am able to read the data set, then modified some category in my area
>> of interest and save the modification. Finally, I fed the model with
>> the modified data set and find that it does work properly. You can get
>> more detail about "R" in the following link. Or simply make google
>> search "read/write binary data using R".
>>
>>
>> Thanks
>> Kamal
>>
>>
>>
>>
>>
>>
>>
>> Quoting Mikhail Titov <TitovM at ap.aurecongroup.com>:
>>
>> > Hi,
>> >
>> > I have a program written on C that transforms any input terrestrial
>> > ASCII code file (topo, land-use and so on) in WPS binary format:
>> > 'rd_wr_binary.exe'.
>> > It is written on C as Fortran always leaves empty bits between 2
>> > lines that is not appropriate. This program is 2-direction one and
>> > can be used to check
>> > binary input terrestrial files transforming them in ASCII code. The
>> > program is very flexible and easily can be changed and re-compiled.
>> >
>> > Of cause after preparation of our own terrestrial files I create new
>> > subdirectory (with tiles) and 'index' file in 'geog' and edit
>> > "GEOGRID.TBL" in
>> > ' WPS/geogrid/' sub-directory to create several pointers on new
>> > terrestrial files and to choose an appropriate' interp_option'.
>> >
>> > We use to create our own terrain and land-use files (using special
>> > statistical methods and GIS) all the time for fine resolution WRF runs
>> > (1000 - 500m) to study wind resources for different on-shore and
>> > off-shore sites. USGS 2m - 30s terrestrial data is too coarse and
>> > very often is a crap.
>> >
>> > Regards,
>> >
>> ________________________________________________________________________________
>> >
>> > Dr. Mikhail Titov | Senior Prof. Officer, Energy | Aurecon
>> > Ph: +64 3 366 08 21 ext.9231 DDI +64 367 32 31 | Fax: +64 3 379 6955
>> > | Mob: +64 21 106 5563
>> > Email: TitovM at ap.aurecongroup.com<mailto:TitovM at ap.aurecongroup.com>
>> > Unit 1, 150 Cavendish Road | Christchurch 8051 | New Zealand
>> > PO Box 1061
>> > http://www.aurecongroup.com<http://www.aurecongroup.com/>
>> > http://www.aurecongroup.com/apac/groupentity/
>> >
>> _________________________________________________________________________________
>> >
>> > Please consider your environment before printing this e-mail.
>> >
>> > From: wrf-users-bounces at ucar.edu [mailto:wrf-users-bounces at ucar.edu]
>> > On Behalf Of Jorge Alejandro Arevalo Borquez
>> > Sent: Wednesday, 1 June 2011 3:48 a.m.
>> > To: Matt Foster
>> > Cc: wrf-users at ucar.edu
>> > Subject: Re: [Wrf-users] Changing land use
>> >
>> > Hi,
>> > other option is modify the binary files of some existing landuse
>> > (modis or usgs), matlab read and write those files whit almost no
>> > problem.
>> >
>> > Atentamente
>> > Jorge Arévalo Bórquez
>> >
>> > On Fri, May 27, 2011 at 11:22 AM, Matt Foster
>> > <Matthew.Foster at noaa.gov<mailto:Matthew.Foster at noaa.gov>> wrote:
>> > Hamed,
>> >
>> > We have done experiments here in the past, where we modified the
>> > greeness fraction based on data from polar-orbiting satellites. We
>> > simply modified the geo_em NetCDF file, and it worked well. You
>> > should be able to take the same approach with land use.
>> >
>> > Matt
>> >
>> >
>> >
>> > On 5/22/2011 6:06 AM, Hamed Sharifi wrote:
>> > Dear All,
>> > I want to change some values of my landuse in order to see how it
>> > affects the whole domain. For example,
>> > change part of the landuse to Forest or Lack.
>> > Does anyone know about this issue?
>> > Thanks in advance,
>> >
>> > Hamed Sharifi,
>> > M.Sc Student, AUT Tehran/Iran
>> > |hamed319 at yahoo.com<mailto:hamed319 at yahoo.com> |
>> > +98-9364024805<tel:%2B98-9364024805> |
>> > hamed_sharifi at aut.ac.ir<mailto:hamed_sharifi at aut.ac.ir> |
>> >
>> >
>> >
>> > _______________________________________________
>> >
>> > Wrf-users mailing list
>> >
>> > Wrf-users at ucar.edu<mailto:Wrf-users at ucar.edu>
>> >
>> > http://mailman.ucar.edu/mailman/listinfo/wrf-users
>> >
>> >
>> >
>> > --
>> >
>> > Do not go where the path may lead; go instead where there is no path
>> > and leave a trail.
>> >
>> > -- Ralph Waldo Emerson
>> >
>> > _______________________________________________
>> > Wrf-users mailing list
>> > Wrf-users at ucar.edu<mailto:Wrf-users at ucar.edu>
>> > http://mailman.ucar.edu/mailman/listinfo/wrf-users
>> >
>> >
>> > Disclaimer - http://www.aurecongroup.com/apac/disclaimer/
>> >
>>
>>
>>
>>
>> _______________________________________________
>> Wrf-users mailing list
>> Wrf-users at ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>>
>
>
>
> --
>
> Saji N Hameed,
> ARC-ENV, Center for Advanced Information Science and Technology,
> University of Aizu, Tsuruga, Ikki-machi,
> Aizuwakamatsu-shi, Fukushima 965-8580,
> Japan
>
> Tel: +81242 37-2736
> email: saji at u-aizu.ac.jp
> url: http://www.u-aizu.ac.jp
> bib: http://www.researcherid.com/rid/B-9188-2009
>






More information about the Wrf-users mailing list