Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Yaqiang Wang
    @Yaqiang
    First commit ^-^
    elhamba
    @elhamba
    Hi Yaqiang
    My name is Ellie. I had a question about your awsome MeteoLab softawre
    How do I convert a grib file to arl file from the gui?
    I tried your script but I keep getting an error?
    • sorry no question mark
    Yaqiang Wang
    @Yaqiang
    There is no gui function to convert a grib file to arl file due to the flexibility of grib file format. Which script you tried and what content of the error?
    K Madan Mohan Rao
    @kmmrao

    fn = 'D:/Temp/nc/air_clm.nc'
    f = addfile(fn)
    ps = f['aveair'][0,:,:,'120']
    yy = linspace(0, 1., ps.shape[0])
    ps.setdimvalue(0, yy)

    Map layer

    layer = shaperead('D:/Temp/map/110m-land.shp')

    Plot

    ax = axes3d(opengl=False)
    ax.plot_layer(layer, color='c', edgecolor='b')
    ls = ax.imshow(ps, 10, offset=120, zdir='x', alpha=0.8)
    colorbar(ls)
    zlim(0, 1)
    xlim(0, 180)
    title('3D imshow x direction example')

    I want the data files in this code, and data files are not available in the download tab. Need help

    Yaqiang Wang
    @Yaqiang
    The data file has been upload to the the website: http://www.meteothink.org/downloads/data.html
    K Madan Mohan Rao
    @kmmrao
    Dear sir,
    Thank you very much for your Meteoinfo tool, I fell in love with it. I was frustratedly searching for a tool to plot a "3D imshow x direction". Meteoinfo made it within no time. I would like to learn more about Meteoinfo, I want to get expertise with this tool. I saw this tool uses a little bit of python and Java in the backend. I have expertise in python but never used Jython. Can you please suggest some more sources where I can learn more about Meteoinfo and its coding.
    Yaqiang Wang
    @Yaqiang
    I am glad MeteoInfo is useful to you. Jython and Python have the same syntax, so your Python experience is benifit to learn MeteoInfo. There are some examples and document in MeteoInfo website, which are the main learning source. Also, MeteoInfo is open source that you can learn it through reading the source code.
    K Madan Mohan Rao
    @kmmrao
    Sir, please don't mind I am bothering you. How to load data from an excel sheet in MeteoInfo.
    Yaqiang Wang
    @Yaqiang
    There is no function to read excel data in MeteoInfo at present. You can save excel data as csv data and read with DataFrame.read_table function: http://www.meteothink.org/docs/meteoinfolab/dataframe/dataframe/read_table.html.
    Daniel Boateng
    @Dan-Boat

    Hi Yaqiang,
    I used your amazing package to convert ERA5 to ARL by adapting the example script. It was successful but after trying it with hysplit , I get the following error:
    At line 259 of file metset.f
    Fortran runtime error: Bad value during integer read

    Error termination. Backtrace:

    #0 0x7f03bf86ad5a

    #1 0x7f03bf86b869

    #2 0x7f03bf86c54f

    #3 0x7f03bfaace20

    #4 0x7f03bfab15b4

    #5 0x7f03bfab2a2b

    #6 0x5653f1b2ab97

    #7 0x5653f1b254f9

    #8 0x5653f1b238e6

    #9 0x5653f1b23312

    #10 0x7f03bf5300b2

    #11 0x5653f1b2334d

    #12 0xffffffffffffffff

    At line 259 of file metset.f
    Fortran runtime error: Bad value during integer read

    Error termination. Backtrace:

    #0 0x7f03bf86ad5a

    #1 0x7f03bf86b869

    #2 0x7f03bf86c54f

    #3 0x7f03bfaace20

    #4 0x7f03bfab15b4

    #5 0x7f03bfab2a2b

    #6 0x5653f1b2ab97

    #7 0x5653f1b254f9

    #8 0x5653f1b238e6

    #9 0x5653f1b23312

    #10 0x7f03bf5300b2

    #11 0x5653f1b2334d

    #12 0xffffffffffffffff

    while executing

    "exec $exec_dir/chk_file <<$input >chkfile.txt"
    (procedure "run_chkfile" line 13)
    invoked from within
    "run_chkfile $gdir $gbase"
    invoked from within
    ".metfile.bot.save invoke"
    ("uplevel" body line 1)
    invoked from within
    "uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 22)
    invoked from within
    "tk::ButtonUp .metfile.bot.save"
    (command bound to event)
    I would be glad if you have any idea about this error. Thanks

    Yaqiang Wang
    @Yaqiang
    I just checked and can not find the bug you mentioned. You may try again but remember to delete the output file if it exists.
    Daniel Boateng
    @Dan-Boat
    Thanks for the suggestion. In general, I want to perform back trajectory analysis to track moisture source by using model output from ECHAM5. I want to convert the netcdf winds to arl for Hysplit. So I decided to make it work with ERA5 and I can replace the values from ERA5 with my model output. I will be glad if you can suggest how to deal with this problem. Or can you please send me the link of the ERA5 files you used in the example script. Thank you.
    Yaqiang Wang
    @Yaqiang
    Data format and data source are not important. Just reference the example script, change file path and variable names and so on. I will update the sampel ERA5 files for your testing.
    Yaqiang Wang
    @Yaqiang
    @Dan-Boat The ERA5 example data files have been added in MeteoInfo website: http://www.meteothink.org/downloads/data.html.
    selvy22420034
    @selvy22420034
    Hello Sir :)
    I am Selvy, a postgraduate student at ITB, Indonesia.
    I had a question about meteoinfo software. I want to add specific humidity data to trajectory, can you share the data format that can be added to trajectory? do i need to add latitude and longitude data? Thank you for your attention.
    Yaqiang Wang
    @Yaqiang
    Please find the information here: http://www.meteothink.org/docs/trajstat/add_data.html.
    yvoou
    @yvoou
    Hello Sir, I have a question about how to convert grib data to ARL. You said I should change the code according to the data file and the variable names in it. But I don't know how to change the code, and even know how to find the variable names because I am still learning the MeteoInfoLab. Could you please tell me where to find the relative information to solve this problem? Thank you.
    Yaqiang Wang
    @Yaqiang
    yvoou
    @yvoou
    ok,got it. How about converting wrfout to arl?It showed this error. Is it the same problem? Should I need to change the variable name too?
    P is not a variable name
    Traceback (most recent call last):
    File "D:\python\wrfout to arl.py", line 17, in <module>
    wv = inf['P']
    File "dataset\dimdatafile.py", line 50, in getitem
    raise ValueError()
    ValueError
    Yaqiang Wang
    @Yaqiang
    Yes, you need to check the variable names of your data file.
    yvoou
    @yvoou
    Dear Sir, I have another question. After extracting the data from ARL, can we edit the csv file and convert it to ARL so that we can get the new trajectory? If can, how could we reach it?
    Yaqiang Wang
    @Yaqiang
    I have no experience on it.