X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Aug 2015 12:10 PM by  anon
unable to open NedCDF file.
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
06 Aug 2015 12:10 PM
    Hi all, I'm a novice in IDL. I'm trying to extract raw WRF (Weather Research and Forecasting) data which is in NetCDF format using IDL. I compiled the procedure called extract_WRF_surface_grid_D01.pro and then ran it. But I got this following notification: IDL> extract_WRF_surface_grid_d01 % Compiled module: GETWLFDAYDATA. % Compiled module: EXTRACT_WRF_SURFACE_GRID_D01. % Compiled module: ATAN2. % NCDF_OPEN: Unable to open the file "". (NC_ERROR=-36) % Execution halted at: GETWLFDAYDATA 4 T:\EohProjs\CDC_climatechange\Lois\AQAST_CO_project\Analysis\extract_WRF_surface_grid_d01.pro % EXTRACT_WRF_SURFACE_GRID_D01 30 T:\EohProjs\CDC_climatechange\Lois\AQAST_CO_project\Analysis\extract_WRF_surface_grid_d01.pro % $MAIN$ What could be the problem and how should I go on and about addressing the problem? Thank you, Lois

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    06 Aug 2015 12:29 PM
    Hi Lois, This is the line that lets you know whats going on:% NCDF_OPEN: Unable to open the file "". (NC_ERROR=-36) It looks like you don't have a filename for NCDF_OPEN to read in. I would suggest placing a stop (actually typing stop) on a line above NCDT_OPEN. This way you can check what your variables are that are in your function and what is getting passed to NCDF_OPEN. Hope that helps!
    You are not authorized to post a reply.