Git Product home page Git Product logo

urban-meteorology-reading.github.io's Introduction

urban-meteorology-reading.github.io's People

Contributors

biglimp avatar dependabot[bot] avatar suegrimmond avatar sunt05 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

mingjiezhangnju

urban-meteorology-reading.github.io's Issues

download LUCY

Hi, When i want to download the Model-64bit of LUCY. it just have 134b and i can not unzip it. i do not know why.
Besides User Manual - Version 2014a, can you give some advices in the detailed process of LUCY model installation.
Thank you very much and look forward to your reply.

Issue running 2020a SUEWS: Error invalid continuation byte

Hi, I am trying to do a SUEWS run using supy and when using the input files from the 2020a download, upon running
df_state_init = sp.init_supy(path_runcontrol)

I get this error:

UnicodeDecodeError                        
Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_24724/777218402.py in <module>
----> 1 df_state_init = sp.init_supy(path_runcontrol)

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_supy_module.py in init_supy(path_init, force_reload, check_input)
    101         if path_init_x.suffix == ".nml":
    102             # SUEWS `RunControl.nml`:
--> 103             df_state_init = load_InitialCond_grid_df(
    104                 path_init_x, force_reload=force_reload
    105             )

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in load_InitialCond_grid_df(path_runcontrol, force_reload)
   1588     # load base df of InitialCond
   1589     logger_supy.debug("loading base df_init...")
-> 1590     df_init = load_SUEWS_InitialCond_df(path_runcontrol)
   1591 
   1592     # add Initial Condition variables from namelist file

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in load_SUEWS_InitialCond_df(path_runcontrol)
   1325     path_input = path_runcontrol.parent / dict_ModConfig["fileinputpath"]
   1326     logger_supy.debug("loading df_gridSurfaceChar")
-> 1327     df_gridSurfaceChar = load_SUEWS_SurfaceChar_df(path_input)
   1328     # df_gridSurfaceChar.to_pickle("df_gridSurfaceChar.pkl")
   1329     # only use the first year of each grid as base for initial conditions

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in load_SUEWS_SurfaceChar_df(path_input)
   1098 @functools.lru_cache(maxsize=16)
   1099 def load_SUEWS_SurfaceChar_df(path_input):
-> 1100     df_gridSurfaceChar_exp = gen_df_gridSurfaceChar_exp(path_input)
   1101     dict_var_ndim = {
   1102         "ahprof_24hr": (24, 2),

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in gen_df_gridSurfaceChar_exp(path_input)
   1082 @functools.lru_cache(maxsize=16)
   1083 def gen_df_gridSurfaceChar_exp(path_input):
-> 1084     df_siteselect_exp = gen_df_siteselect_exp(path_input)
   1085     dict_var_tuple = exp_dict_full(dict_var2SiteSelect)
   1086     df_gridSurfaceChar_exp = pd.concat(

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in gen_df_siteselect_exp(path_input)
    956 def gen_df_siteselect_exp(path_input):
    957     # df with all code-references values
--> 958     df_all_code = gen_all_code_df(path_input)
    959 
    960     # retrieve all `Code`-relaed names

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in gen_all_code_df(path_input)
    875 @functools.lru_cache(maxsize=16)
    876 def gen_all_code_df(path_input):
--> 877     dict_libs = load_SUEWS_Libs(path_input)
    878     df_siteselect = dict_libs["lib_SiteSelect"]
    879     list_code = [code for code in df_siteselect.columns if to_exp_Q(code)]

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in load_SUEWS_Libs(path_input)
    268         # lib_path = os.path.join(path_input, lib_file)
    269         lib_path = path_input / lib_file
--> 270         dict_libs.update({lib: load_SUEWS_table(lib_path)})
    271     # return DataFrame containing settings
    272     return dict_libs

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\supy\_load.py in load_SUEWS_table(path_file)
    247         # fileX = path_insensitive(fileX)
    248         str_file = str(path_file)
--> 249         rawdata = pd.read_csv(
    250             str_file,
    251             delim_whitespace=True,

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs)
    309                     stacklevel=stacklevel,
    310                 )
--> 311             return func(*args, **kwargs)
    312 
    313         return wrapper

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\io\parsers\readers.py in read_csv(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, error_bad_lines, warn_bad_lines, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options)
    584     kwds.update(kwds_defaults)
    585 
--> 586     return _read(filepath_or_buffer, kwds)
    587 
    588 

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\io\parsers\readers.py in _read(filepath_or_buffer, kwds)
    480 
    481     # Create the parser.
--> 482     parser = TextFileReader(filepath_or_buffer, **kwds)
    483 
    484     if chunksize or iterator:

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\io\parsers\readers.py in __init__(self, f, engine, **kwds)
    809             self.options["has_index_names"] = kwds["has_index_names"]
    810 
--> 811         self._engine = self._make_engine(self.engine)
    812 
    813     def close(self):

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\io\parsers\readers.py in _make_engine(self, engine)
   1038             )
   1039         # error: Too many arguments for "ParserBase"
-> 1040         return mapping[engine](self.f, **self.options)  # type: ignore[call-arg]
   1041 
   1042     def _failover_to_python(self):

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\io\parsers\c_parser_wrapper.py in __init__(self, src, **kwds)
     67         kwds["dtype"] = ensure_dtype_objs(kwds.get("dtype", None))
     68         try:
---> 69             self._reader = parsers.TextReader(self.handles.handle, **kwds)
     70         except Exception:
     71             self.handles.close()

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader.__cinit__()

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._get_header()

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._tokenize_rows()

~\Anaconda3\envs\my_dev_env_supy\lib\site-packages\pandas\_libs\parsers.pyx in pandas._libs.parsers.raise_parser_error()

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 1330: invalid continuation byte

input data

Now i have read lucyusermanual and know how to run it. But if i want to get AHF of one city, for example ,Beijing, China, how can i get the input data and how can i use the mat2ascGUI.exe tool. I can not find the introduction in the lucyusermanual and hope you give me some advices. Thank you.

About SOLWEIG Issue

Hello!

I'm a student from Aalto University and I meet one issue when I try to generate Tmrt map of Helsinki. Hoping you can help me out.

When I try to generate the map through SOLWEIG function, it jump the python error: NumPy boolean array indexing assignment cannot assign 0 input values to the 472045 output values where the mask is true.

All my documents included were successfully generated by Pre-processor. And the success of the test dataset on your website prove it not caused by the bug of the plugin. Do you have any idea about the solution?
111
222

How to use the mat2ascGUI.exe tool

Now i have read lucyusermanual and know how to run it. But if i want to get AHF of one city, for example ,Beijing, how can i get the input data and how can i use the mat2ascGUI.exe tool. I can not find the introduction in the lucyusermanual and hope to get some advices. Thank you.

Question: SVF - IU

Hi,

My name is Pyoung-Jik Lee from University of Liverpool. I would like to analyse SVF of urban spaces using your code (SVF - IU). As a preliminary test, I took a picture using a fish-eye lens and converted it into a black and white image with a pgm format. Also I then ran the code but the SVF is '0' - please see attached file. I selected 1. Full (160081200) and 2. 180 degree for this image. Can you please tell me what I've done wrong and help me to analyse the SVF? You could contact me via email ([email protected]).

svf_res.txt
dscn0005

LUCY model: hanging on "processing Datasets"

After finished the installation of LUCY, i try to run the model following the User Manual. After i finished the step 1 to 4 and Press EXECUTE, the window is always in the situation of "processing Datasets". But in the output folder, there is no data or other results. I am confused and why is it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.